diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-05-13 22:56:26 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe2.(none)> | 2009-06-11 21:02:15 +0200 |
commit | 2864d32be31a20a4617e37a857dd9915a57e2efb (patch) | |
tree | f1ed8d5c0bad71fac98b5d255d6f6c9eca0e79f4 /include/asm-generic/shmparam.h | |
parent | c31ae4bb4a9fa4606a74c0a4fb61b74f804e861e (diff) | |
download | linux-3.10-2864d32be31a20a4617e37a857dd9915a57e2efb.tar.gz linux-3.10-2864d32be31a20a4617e37a857dd9915a57e2efb.tar.bz2 linux-3.10-2864d32be31a20a4617e37a857dd9915a57e2efb.zip |
asm-generic: add generic sysv ipc headers
The ipc64 data structures were originally meant to
be architecture specific so that each architecture
could add their own optimizations for padding.
In the end, most of them just copied the x86 version,
and most got that wrong. UClibc expects the x86 anyway,
so we might just declare that the default and get
rid of the extra copies.
Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/shmparam.h')
-rw-r--r-- | include/asm-generic/shmparam.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-generic/shmparam.h b/include/asm-generic/shmparam.h new file mode 100644 index 00000000000..51a3852de73 --- /dev/null +++ b/include/asm-generic/shmparam.h @@ -0,0 +1,6 @@ +#ifndef __ASM_GENERIC_SHMPARAM_H +#define __ASM_GENERIC_SHMPARAM_H + +#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ + +#endif /* _ASM_GENERIC_SHMPARAM_H */ |