drop {,acpi_}reserve_bootmem()
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Aug 2018 15:40:31 +0000 (17:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Aug 2018 15:40:31 +0000 (17:40 +0200)
Both are entirely unused (to be fair, reserve_bootmem() has a use inside
an "#if 0" section in x86's mpparse.c, but if we were to re-enable that
code, it would need doing differently anyway).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/acpi.h
xen/include/xen/lib.h

index c138def1bdb1ba16d9453b37a8f6a395f87b88ca..3950b470e54ddb3dfb18fc9d38504671ce57125e 100644 (file)
@@ -98,9 +98,6 @@ extern void acpi_restore_state_mem(void);
 
 extern unsigned long acpi_wakeup_address;
 
-/* early initialization routine */
-extern void acpi_reserve_bootmem(void);
-
 #define ARCH_HAS_POWER_INIT    1
 
 extern s8 acpi_numa;
index 1d9771340c37f58371bd215df0f33d7bb3665719..972fc843fa894274cef8fef3ac439a67ef805416 100644 (file)
@@ -66,8 +66,6 @@
 
 #define ROUNDUP(x, a) (((x) + (a) - 1) & ~((a) - 1))
 
-#define reserve_bootmem(_p,_l) ((void)0)
-
 struct domain;
 
 void cmdline_parse(const char *cmdline);