xref: /linux/arch/sparc/include/asm/shmparam_32.h (revision 35780c8ea7ad5c6d5483244d5f5bf37176fda86a)
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 */
12