1 #ifndef __ARCH_S390_PERCPU__
2 #define __ARCH_S390_PERCPU__
5 * s390 uses its own implementation for per cpu data, the offset of
6 * the cpu local data area is cached in the cpu's lowcore memory.
8 #define __my_cpu_offset S390_lowcore.percpu_offset
11 * For 64 bit module code, the module may be more than 4G above the
12 * per cpu area, use weak definitions to force the compiler to
13 * generate external references.
15 #if defined(CONFIG_SMP) && defined(__s390x__) && defined(MODULE)
16 #define ARCH_NEEDS_WEAK_PER_CPU
19 #include <asm-generic/percpu.h>
21 #endif /* __ARCH_S390_PERCPU__ */