diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-30 09:13:35 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-10-01 07:55:23 +0200 |
commit | 15e86643d5b6df08ebd65c7b5aa607fd2ed2d9d1 (patch) | |
tree | 530661762ee3c0c078efad23f68b4594b7086455 /include/asm-generic/vmlinux.lds.h | |
parent | modpost: add missing else to the "of" check (diff) | |
download | linux-15e86643d5b6df08ebd65c7b5aa607fd2ed2d9d1.tar.xz linux-15e86643d5b6df08ebd65c7b5aa607fd2ed2d9d1.zip |
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 <masahiroy@kernel.org>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 9c59409104f6..67d8dd2f1bde 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -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) |