]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
Restore setup_pagetables xen_paddr argument
authorLuca Miccio <206497@studenti.unimore.it>
Mon, 6 Jan 2020 13:46:12 +0000 (14:46 +0100)
committerLuca Miccio <206497@studenti.unimore.it>
Mon, 6 Jan 2020 13:46:12 +0000 (14:46 +0100)
Signed-off-by: Luca Miccio <206497@studenti.unimore.it>
xen/arch/arm/mm.c
xen/arch/arm/setup.c
xen/include/asm-arm/mm.h

index 971332861d4986c0f869616287d8b2261f2ce9db..577c531a6df3370349a6a5ac0694fa95beac9198 100644 (file)
@@ -634,7 +634,7 @@ static void clear_table(void *table)
 
 /* Boot-time pagetable setup.
  * Changes here may need matching changes in head.S */
-void __init setup_pagetables(unsigned long boot_phys_offset)
+void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr)
 {
     uint64_t ttbr;
     lpae_t pte, *p;
index d9bbb672b3f688bb83801dc82608956701142a8a..9c89c7d8febea596cc2cf68b5daefdc4e83dee6a 100644 (file)
@@ -805,7 +805,7 @@ void __init start_xen(unsigned long boot_phys_offset,
     /* Initialize traps early allow us to get backtrace when an error occurred */
     init_traps();
 
-    setup_pagetables(boot_phys_offset);
+    setup_pagetables(boot_phys_offset, 0);
 
     smp_clear_cpu_maps();
 
index 333efd3a60b1934c04dd50ac5217f6902a420f0b..6b4eef2dd23925592f714316619ae02ca6d01e40 100644 (file)
@@ -170,7 +170,7 @@ extern unsigned long total_pages;
 #define PDX_GROUP_SHIFT SECOND_SHIFT
 
 /* Boot-time pagetable setup */
-extern void setup_pagetables(unsigned long boot_phys_offset);
+extern void setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr);
 /* Map FDT in boot pagetable */
 extern void *early_fdt_map(paddr_t fdt_paddr);
 /* Remove early mappings */