| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | |
| 4 | |
| 5 | /* |
| 6 | * To calculate addresses of locally defined variables, GCC uses |
| 7 | * 32-bit displacement from the GP. Which doesn't work for per cpu |
| 8 | * variables in modules, as an offset to the kernel per cpu area is |
| 9 | * way above 4G. |
| 10 | * |
| 11 | * Always use weak definitions for percpu variables in modules. |
| 12 | * Therefore, we have enabled CONFIG_ARCH_MODULE_NEEDS_WEAK_PER_CPU |
| 13 | * in the Kconfig. |
| 14 | */ |
| 15 | |
| 16 | |
| 17 | |
| 18 | /* __ALPHA_PERCPU_H */ |