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/asm-sparc64 | |
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/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/shmparam.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-sparc64/shmparam.h b/include/asm-sparc64/shmparam.h index 911d0427de6d..8c66fded8a32 100644 --- a/include/asm-sparc64/shmparam.h +++ b/include/asm-sparc64/shmparam.h | |||
@@ -1,7 +1,6 @@ | |||
1 | /* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */ | 1 | /* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */ |
2 | #ifndef _ASMSPARC64_SHMPARAM_H | 2 | #ifndef _ASMSPARC64_SHMPARAM_H |
3 | #define _ASMSPARC64_SHMPARAM_H | 3 | #define _ASMSPARC64_SHMPARAM_H |
4 | #ifdef __KERNEL__ | ||
5 | 4 | ||
6 | #include <asm/spitfire.h> | 5 | #include <asm/spitfire.h> |
7 | 6 | ||
@@ -9,5 +8,4 @@ | |||
9 | /* attach addr a multiple of this */ | 8 | /* attach addr a multiple of this */ |
10 | #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) | 9 | #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) |
11 | 10 | ||
12 | #endif /* __KERNEL__ */ | ||
13 | #endif /* _ASMSPARC64_SHMPARAM_H */ | 11 | #endif /* _ASMSPARC64_SHMPARAM_H */ |