mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
asm-generic/vmlix.lds.h: simplify __mem{init,exit}* dependencies
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>
This commit is contained in:
parent
3ff6eecca4
commit
1a3fb6d481
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@
|
||||||
#define CPU_DISCARD(sec) *(.cpu##sec)
|
#define CPU_DISCARD(sec) *(.cpu##sec)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \
|
#if defined(CONFIG_MEMORY_HOTPLUG)
|
||||||
|| defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)
|
|
||||||
#define MEM_KEEP(sec) *(.mem##sec)
|
#define MEM_KEEP(sec) *(.mem##sec)
|
||||||
#define MEM_DISCARD(sec)
|
#define MEM_DISCARD(sec)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue