]> git.itanic.dy.fi Git - linux-stable/commitdiff
vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 30 Sep 2023 07:13:35 +0000 (16:13 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 Oct 2023 05:55:23 +0000 (14:55 +0900)
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>
include/asm-generic/vmlinux.lds.h

index 9c59409104f69830fe229ef8c32df24cb9c03e07..67d8dd2f1bdec12a0d4a919641d9397aebcf85d3 100644 (file)
  * 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)