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