acrn-kernel/include/asm-sparc64/shmparam.h

14 lines
369 B
C

/* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */
#ifndef _ASMSPARC64_SHMPARAM_H
#define _ASMSPARC64_SHMPARAM_H
#ifdef __KERNEL__
#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 /* __KERNEL__ */
#endif /* _ASMSPARC64_SHMPARAM_H */