History

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").

Masahiro Yamada committed 3 years ago

Commit 15e86641 parent cbc3d001 file · +0 −7Browse files

Unified · Split

include/asm-generic/vmlinux.lds.h+0−7
@@ -138,13 +138,6 @@ · 137 unmodified lines
138 * are handled as text/data or they can be discarded (which138 * are handled as text/data or they can be discarded (which
139 * often happens at runtime)139 * often happens at runtime)
140 */140 */
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
148 141
149#if defined(CONFIG_MEMORY_HOTPLUG)142#if defined(CONFIG_MEMORY_HOTPLUG)
150#define MEM_KEEP(sec) *(.mem##sec)143#define MEM_KEEP(sec) *(.mem##sec)