![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __ALPHA_PERCPU_H 0003 #define __ALPHA_PERCPU_H 0004 0005 /* 0006 * To calculate addresses of locally defined variables, GCC uses 0007 * 32-bit displacement from the GP. Which doesn't work for per cpu 0008 * variables in modules, as an offset to the kernel per cpu area is 0009 * way above 4G. 0010 * 0011 * Always use weak definitions for percpu variables in modules. 0012 */ 0013 #if defined(MODULE) && defined(CONFIG_SMP) 0014 #define ARCH_NEEDS_WEAK_PER_CPU 0015 #endif 0016 0017 #include <asm-generic/percpu.h> 0018 0019 #endif /* __ALPHA_PERCPU_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |