diff options
author | Olaf Hering <olaf@aepfle.de> | 2007-10-17 02:26:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:47 -0400 |
commit | 4029a9177fb4a3410211d091505a7f8d03a7b15d (patch) | |
tree | 0ecad3a0799acf1ed59e527790e1b9e3ebee0995 /include/linux | |
parent | eb1f2930609bb01bb3a970f145b5004e5163742a (diff) |
unexport asm/shmparam.h
SHMLBA cant possible be used in userspace, see sparc versions of that header.
Do not export asm/shmparam.h during make headers_install_all
This removes another uservisible place of PAGE_SIZE
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/shm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/shm.h b/include/linux/shm.h index ad2e3af65997..bea65d9c93ef 100644 --- a/include/linux/shm.h +++ b/include/linux/shm.h | |||
@@ -16,7 +16,9 @@ | |||
16 | #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */ | 16 | #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */ |
17 | #define SHMSEG SHMMNI /* max shared segs per process */ | 17 | #define SHMSEG SHMMNI /* max shared segs per process */ |
18 | 18 | ||
19 | #ifdef __KERNEL__ | ||
19 | #include <asm/shmparam.h> | 20 | #include <asm/shmparam.h> |
21 | #endif | ||
20 | 22 | ||
21 | /* Obsolete, used only for backwards compatibility and libc5 compiles */ | 23 | /* Obsolete, used only for backwards compatibility and libc5 compiles */ |
22 | struct shmid_ds { | 24 | struct shmid_ds { |