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>
This commit is contained in:
Arnd Bergmann
2009-06-18 21:48:17 +02:00
committed by H. Peter Anvin
parent 4adc667593
commit 7bfd124d6d
8 changed files with 92 additions and 53 deletions

View File

@@ -1,13 +1,18 @@
#ifndef _ASM_X86_IPCBUF_H
#define _ASM_X86_IPCBUF_H
#ifndef __ASM_GENERIC_IPCBUF_H
#define __ASM_GENERIC_IPCBUF_H
/*
* The ipc64_perm structure for x86 architecture.
* The generic ipc64_perm structure:
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* ipc64_perm was originally meant to be architecture specific, but
* everyone just ended up making identical copies without specific
* optimizations, so we may just as well all use the same one.
*
* Pad space is left for:
* - 32-bit mode_t and seq
* - 32-bit mode_t on architectures that only had 16 bit
* - 32-bit seq
* - 2 miscellaneous 32-bit values
*/
@@ -25,4 +30,4 @@ struct ipc64_perm {
unsigned long __unused2;
};
#endif /* _ASM_X86_IPCBUF_H */
#endif /* __ASM_GENERIC_IPCBUF_H */