summaryrefslogtreecommitdiff
path: root/include/asm-sparc/shmparam.h
blob: 59a1243c12f3a493771ad6dea2bf326eb5f50306 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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 : \
		(sparc_cpu_model == sun4c ? (64 * 1024) : \
		 (sparc_cpu_model == sun4 ? (128 * 1024) : PAGE_SIZE)))

#endif /* _ASMSPARC_SHMPARAM_H */