mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-09-15 09:07:11 +10:00
vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
Remove the left-over of commit e24f662881
("modpost: remove all
traces of cpuinit/cpuexit sections").
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
parent
cbc3d00cf8
commit
15e86643d5
@ -138,13 +138,6 @@
|
|||||||
* are handled as text/data or they can be discarded (which
|
* are handled as text/data or they can be discarded (which
|
||||||
* often happens at runtime)
|
* 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)
|
#if defined(CONFIG_MEMORY_HOTPLUG)
|
||||||
#define MEM_KEEP(sec) *(.mem##sec)
|
#define MEM_KEEP(sec) *(.mem##sec)
|
||||||
|
Loading…
Reference in New Issue
Block a user