aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/shmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/shmparam.h')
-rw-r--r--include/asm-sparc/shmparam.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc/shmparam.h b/include/asm-sparc/shmparam.h
new file mode 100644
index 000000000000..bb93a6f74a38
--- /dev/null
+++ b/include/asm-sparc/shmparam.h
@@ -0,0 +1,12 @@
1/* $Id: shmparam.h,v 1.6 1999/12/09 10:32:41 davem Exp $ */
2#ifndef _ASMSPARC_SHMPARAM_H
3#define _ASMSPARC_SHMPARAM_H
4
5#define __ARCH_FORCE_SHMLBA 1
6
7extern int vac_cache_size;
8#define SHMLBA (vac_cache_size ? vac_cache_size : \
9 (sparc_cpu_model == sun4c ? (64 * 1024) : \
10 (sparc_cpu_model == sun4 ? (128 * 1024) : PAGE_SIZE)))
11
12#endif /* _ASMSPARC_SHMPARAM_H */