Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 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 */ |