Skip to content

Commit

Permalink
asm-generic/vmlix.lds.h: simplify __mem{init,exit}* dependencies
Browse files Browse the repository at this point in the history
Simplify the dependencies on __mem{init,exit}* (ACPI_HOTPLUG_MEMORY requires
MEMORY_HOTPLUG).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Adrian Bunk authored and Sam Ravnborg committed Jan 28, 2008
1 parent 3ff6eec commit 1a3fb6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
#define CPU_DISCARD(sec) *(.cpu##sec)
#endif

#if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \
|| defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)
#if defined(CONFIG_MEMORY_HOTPLUG)
#define MEM_KEEP(sec) *(.mem##sec)
#define MEM_DISCARD(sec)
#else
Expand Down

0 comments on commit 1a3fb6d

Please sign in to comment.