mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-08 05:16:40 +07:00
4029a9177f
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>
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 */
|