[xen staging] drop {,acpi_}reserve_bootmem()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] drop {,acpi_}reserve_bootmem()

patchbot
commit e752f28409678ce3ade49986b39309178fb2a6d6
Author:     Jan Beulich <[hidden email]>
AuthorDate: Fri Aug 3 17:40:31 2018 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Fri Aug 3 17:40:31 2018 +0200

    drop {,acpi_}reserve_bootmem()
   
    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 <[hidden email]>
    Reviewed-by: Wei Liu <[hidden email]>
    Acked-by: Andrew Cooper <[hidden email]>
---
 xen/include/asm-x86/acpi.h | 3 ---
 xen/include/xen/lib.h      | 2 --
 2 files changed, 5 deletions(-)

diff --git a/xen/include/asm-x86/acpi.h b/xen/include/asm-x86/acpi.h
index c138def1bd..3950b470e5 100644
--- a/xen/include/asm-x86/acpi.h
+++ b/xen/include/asm-x86/acpi.h
@@ -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;
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h
index 1d9771340c..972fc843fa 100644
--- a/xen/include/xen/lib.h
+++ b/xen/include/xen/lib.h
@@ -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);
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog