diff options
Diffstat (limited to 'include/asm-sparc/shmparam_32.h')
-rw-r--r-- | include/asm-sparc/shmparam_32.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-sparc/shmparam_32.h b/include/asm-sparc/shmparam_32.h new file mode 100644 index 000000000000..59a1243c12f3 --- /dev/null +++ b/include/asm-sparc/shmparam_32.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef _ASMSPARC_SHMPARAM_H | ||
2 | #define _ASMSPARC_SHMPARAM_H | ||
3 | |||
4 | #define __ARCH_FORCE_SHMLBA 1 | ||
5 | |||
6 | extern int vac_cache_size; | ||
7 | #define SHMLBA (vac_cache_size ? vac_cache_size : \ | ||
8 | (sparc_cpu_model == sun4c ? (64 * 1024) : \ | ||
9 | (sparc_cpu_model == sun4 ? (128 * 1024) : PAGE_SIZE))) | ||
10 | |||
11 | #endif /* _ASMSPARC_SHMPARAM_H */ | ||