lkml.org 
[lkml]   [2020]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] asm-generic/sembuf: Update architecture related information in comment
On 20-05-20, 15:53, Viresh Kumar wrote:
> The structure came originally from x86_32 but is used by most of the
> architectures now. Update the comment which says it is for x86 only.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> include/uapi/asm-generic/sembuf.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/uapi/asm-generic/sembuf.h b/include/uapi/asm-generic/sembuf.h
> index 0e709bd3d730..f54e48fc91ae 100644
> --- a/include/uapi/asm-generic/sembuf.h
> +++ b/include/uapi/asm-generic/sembuf.h
> @@ -6,9 +6,9 @@
> #include <asm/ipcbuf.h>
>
> /*
> - * The semid64_ds structure for x86 architecture.
> - * Note extra padding because this structure is passed back and forth
> - * between kernel and user space.
> + * The semid64_ds structure for most architectures (though it came from x86_32
> + * originally). Note extra padding because this structure is passed back and
> + * forth between kernel and user space.
> *
> * semid64_ds was originally meant to be architecture specific, but
> * everyone just ended up making identical copies without specific

Arnd, Ping.

--
viresh

\
 
 \ /
  Last update: 2020-07-13 11:45    [W:0.103 / U:2.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site