Skip to content

Commit

Permalink
vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
Browse files Browse the repository at this point in the history
Remove the left-over of commit e24f662 ("modpost: remove all
traces of cpuinit/cpuexit sections").

Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Paul Gortmaker <[email protected]>
  • Loading branch information
masahir0y committed Oct 1, 2023
1 parent cbc3d00 commit 15e8664
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 15e8664

Please sign in to comment.