summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/shmparam.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-05-14 00:56:26 +0200
committerArnd Bergmann <arnd@klappe2.(none)>2009-06-11 21:02:15 +0200
commit2864d32be31a20a4617e37a857dd9915a57e2efb (patch)
treef1ed8d5c0bad71fac98b5d255d6f6c9eca0e79f4 /include/asm-generic/shmparam.h
parentasm-generic: introduce asm/bitsperlong.h (diff)
downloadlinux-2864d32be31a20a4617e37a857dd9915a57e2efb.tar.xz
linux-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.h6
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 000000000000..51a3852de733
--- /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 */