mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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 <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
12 lines
327 B
C
12 lines
327 B
C
/* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */
|
|
#ifndef _ASMSPARC64_SHMPARAM_H
|
|
#define _ASMSPARC64_SHMPARAM_H
|
|
|
|
#include <asm/spitfire.h>
|
|
|
|
#define __ARCH_FORCE_SHMLBA 1
|
|
/* attach addr a multiple of this */
|
|
#define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE)
|
|
|
|
#endif /* _ASMSPARC64_SHMPARAM_H */
|