Skip to content

Commit 15e8664

Browse files
committed
vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
Remove the left-over of commit e24f662 ("modpost: remove all traces of cpuinit/cpuexit sections"). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
1 parent cbc3d00 commit 15e8664

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

include/asm-generic/vmlinux.lds.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@
138138
* are handled as text/data or they can be discarded (which
139139
* often happens at runtime)
140140
*/
141-
#ifdef CONFIG_HOTPLUG_CPU
142-
#define CPU_KEEP(sec) *(.cpu##sec)
143-
#define CPU_DISCARD(sec)
144-
#else
145-
#define CPU_KEEP(sec)
146-
#define CPU_DISCARD(sec) *(.cpu##sec)
147-
#endif
148141

149142
#if defined(CONFIG_MEMORY_HOTPLUG)
150143
#define MEM_KEEP(sec) *(.mem##sec)

0 commit comments

Comments
 (0)