vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
Subsystems (2)
PATCH 1/1 vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
Remove the left-over of commit e24f6628811e ("modpost: remove all traces of cpuinit/cpuexit sections").
Signed-off-by Masahiro Yamada <[email protected]>
---
include/asm-generic/vmlinux.lds.h | 7 ------- 1 file changed, 7 deletions(-)
include/asm-generic/vmlinux.lds.h +0 -7
@@ -138,13 +138,6 @@* are handled as text/data or they can be discarded (which * often happens at runtime) */ -#ifdef CONFIG_HOTPLUG_CPU -#define CPU_KEEP (sec) *(.cpu##sec) -#define CPU_DISCARD (sec) -#else -#define CPU_KEEP (sec) -#define CPU_DISCARD (sec) *(.cpu##sec) -#endif #if defined(CONFIG_MEMORY_HOTPLUG )#define MEM_KEEP (sec) *(.mem##sec)
Signature · 1 line
2.39.2
Quoted 2 lines · [[PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros] On…
Remove the left-over of commit
e24f6628811e("modpost: remove all traces of cpuinit/cpuexit sections").
Hard to believe that cpuinit/cpuexit removal was over 10 years ago now.
Acked-by Paul Gortmaker <[email protected]>
Thanks,
Paul.
--
Quoted 28 lines
Signed-off-by Masahiro Yamada <[email protected]>---
include/asm-generic/vmlinux.lds.h | 7 ------- 1 file changed, 7 deletions(-)include/asm-generic/vmlinux.lds.h +0
-7@@ -138,13 +138,6 @@* are handled as text/data or they can be discarded (which * often happens at runtime) */ -#ifdef CONFIG_HOTPLUG_CPU -#define CPU_KEEP (sec) *(.cpu##sec) -#define CPU_DISCARD (sec) -#else -#define CPU_KEEP (sec) -#define CPU_DISCARD (sec) *(.cpu##sec) -#endif #if defined(CONFIG_MEMORY_HOTPLUG )#define MEM_KEEP (sec) *(.mem##sec)Signature · 1 line
2.39.2