mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
eb1f293060
commit
4029a9177f
4 changed files with 2 additions and 4 deletions
|
@ -16,7 +16,9 @@
|
|||
#define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */
|
||||
#define SHMSEG SHMMNI /* max shared segs per process */
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <asm/shmparam.h>
|
||||
#endif
|
||||
|
||||
/* Obsolete, used only for backwards compatibility and libc5 compiles */
|
||||
struct shmid_ds {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue