summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/shmparam_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/shmparam_64.h')
-rw-r--r--include/asm-sparc/shmparam_64.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-sparc/shmparam_64.h b/include/asm-sparc/shmparam_64.h
new file mode 100644
index 0000000..1ed0d67
--- /dev/null
+++ b/include/asm-sparc/shmparam_64.h
@@ -0,0 +1,10 @@
+#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 */
OpenPOWER on IntegriCloud