aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/ipcbuf.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-18 15:48:17 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-06-18 17:39:47 -0400
commit7bfd124d6dae7d394e73753300594a81a022fe7d (patch)
treef6b82b71071a5dcda066f0c2b33739d06b8bab65 /arch/x86/include/asm/ipcbuf.h
parent4adc667593f83a18a8e54ce94f250fd166a272ac (diff)
x86: convert trivial headers to asm-generic version
For these nine header files, the asm-generic version should be semantically identical to what is in x86. Change the contents to be binary identical, for better review. Signed-off-by: Arnd Bergmann <arnd@arndb.de> LKML-Reference: <cover.1245354003.git.arnd@arndb.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/ipcbuf.h')
-rw-r--r--arch/x86/include/asm/ipcbuf.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/x86/include/asm/ipcbuf.h b/arch/x86/include/asm/ipcbuf.h
index ee678fd51594..888ca1c8f951 100644
--- a/arch/x86/include/asm/ipcbuf.h
+++ b/arch/x86/include/asm/ipcbuf.h
@@ -1,13 +1,18 @@
1#ifndef _ASM_X86_IPCBUF_H 1#ifndef __ASM_GENERIC_IPCBUF_H
2#define _ASM_X86_IPCBUF_H 2#define __ASM_GENERIC_IPCBUF_H
3 3
4/* 4/*
5 * The ipc64_perm structure for x86 architecture. 5 * The generic ipc64_perm structure:
6 * Note extra padding because this structure is passed back and forth 6 * Note extra padding because this structure is passed back and forth
7 * between kernel and user space. 7 * between kernel and user space.
8 * 8 *
9 * ipc64_perm was originally meant to be architecture specific, but
10 * everyone just ended up making identical copies without specific
11 * optimizations, so we may just as well all use the same one.
12 *
9 * Pad space is left for: 13 * Pad space is left for:
10 * - 32-bit mode_t and seq 14 * - 32-bit mode_t on architectures that only had 16 bit
15 * - 32-bit seq
11 * - 2 miscellaneous 32-bit values 16 * - 2 miscellaneous 32-bit values
12 */ 17 */
13 18
@@ -25,4 +30,4 @@ struct ipc64_perm {
25 unsigned long __unused2; 30 unsigned long __unused2;
26}; 31};
27 32
28#endif /* _ASM_X86_IPCBUF_H */ 33#endif /* __ASM_GENERIC_IPCBUF_H */