summaryrefslogtreecommitdiffstats
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.h11
1 files changed, 11 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 000000000..c0731b571
--- /dev/null
+++ b/arch/sparc/include/asm/shmparam_64.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#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 */