summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/shmparam_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/shmparam_32.h')
-rw-r--r--arch/sparc/include/asm/shmparam_32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/shmparam_32.h b/arch/sparc/include/asm/shmparam_32.h
new file mode 100644
index 000000000..9767a8b30
--- /dev/null
+++ b/arch/sparc/include/asm/shmparam_32.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASMSPARC_SHMPARAM_H
+#define _ASMSPARC_SHMPARAM_H
+
+#define __ARCH_FORCE_SHMLBA 1
+
+extern int vac_cache_size;
+#define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE)
+
+#endif /* _ASMSPARC_SHMPARAM_H */