Full support for Ginger Console
[linux-ginger.git] / arch / s390 / include / asm / percpu.h
blobf7ad8719d02dcd211bc18c39806d86a5dceb985a
1 #ifndef __ARCH_S390_PERCPU__
2 #define __ARCH_S390_PERCPU__
4 /*
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.
7 */
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
17 #endif
19 #include <asm-generic/percpu.h>
21 #endif /* __ARCH_S390_PERCPU__ */