mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
12 lines
309 B
C
12 lines
309 B
C
|
#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 */
|