patch-2.4.11-dontuse linux/include/asm-sparc64/shmparam.h
Next file: linux/include/asm-sparc64/spitfire.h
Previous file: linux/include/asm-sparc64/processor.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Oct 1 09:19:56 2001
- Orig file:
v2.4.10/linux/include/asm-sparc64/shmparam.h
- Orig date:
Mon Dec 20 22:05:52 1999
diff -u --recursive --new-file v2.4.10/linux/include/asm-sparc64/shmparam.h linux/include/asm-sparc64/shmparam.h
@@ -1,7 +1,10 @@
-/* $Id: shmparam.h,v 1.4 1999/12/09 10:32:44 davem Exp $ */
+/* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */
#ifndef _ASMSPARC64_SHMPARAM_H
#define _ASMSPARC64_SHMPARAM_H
-#define SHMLBA (PAGE_SIZE<<1) /* attach addr a multiple of this */
+#include <asm/spitfire.h>
+
+/* attach addr a multiple of this */
+#define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE)
#endif /* _ASMSPARC64_SHMPARAM_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)