Message ID | 20220325143833.402631-2-deller@gmx.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [01/12] parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY | expand |
diff --git a/arch/parisc/include/asm/sections.h b/arch/parisc/include/asm/sections.h index bb52aea0cb21..4c28c7adaf5f 100644 --- a/arch/parisc/include/asm/sections.h +++ b/arch/parisc/include/asm/sections.h @@ -7,6 +7,12 @@ extern char __alt_instructions[], __alt_instructions_end[]; +#ifdef CONFIG_HOTPLUG_CPU +#define __cpuinit +#else +#define __cpuinit __init +#endif + #ifdef CONFIG_64BIT #define HAVE_DEREFERENCE_FUNCTION_DESCRIPTOR 1
Provide a __cpuinit section which needs to be used instead of __init when CPU hotplugging is enabled. Signed-off-by: Helge Deller <deller@gmx.de> --- arch/parisc/include/asm/sections.h | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.35.1