Skip to contentSkip to conversation

xen/arm: fix build after f20a6e309

PATCH In review Wei Liu 3 participants 3 messages Apr 9, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 xen/arm: fix build after f20a6e309

Commit f20a6e309 removed a parameter from smp_prepare_cpus but only the x86 parts were submitted and committed.

---
Cc: Stefano Stabellini <[email protected]>
Cc: Julien Grall <[email protected]>

---
 xen/arch/arm/setup.c   | 2 +-
 xen/arch/arm/smpboot.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/setup.c +1 -1
index 6e49e8fd1f..1d6f6bf37e 100644
@@ -804,7 +804,7 @@ void __init start_xen(unsigned long boot_phys_offset,
     local_irq_enable();
     local_abort_enable();
 
-    smp_prepare_cpus(cpus);
+    smp_prepare_cpus();
 
     initialize_keytable();
 
xen/arch/arm/smpboot.c +1 -1
index 62f795f68e..b2116f0d2d 100644
@@ -283,7 +283,7 @@ smp_get_max_cpus (void)
 }
 
 void __init
-smp_prepare_cpus (unsigned int max_cpus)
+smp_prepare_cpus(void)
 {
     cpumask_copy(&cpu_present_map, &cpu_possible_map);
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Wei Liu
Quoted 4 lines · Wei Liu

Commit f20a6e309 removed a parameter from smp_prepare_cpus but only the x86 parts were submitted and committed.

Quoted 37 lines

---
Cc: Stefano Stabellini <[email protected]>
Cc: Julien Grall <[email protected]>

---
 xen/arch/arm/setup.c   | 2 +-
 xen/arch/arm/smpboot.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/setup.c +1 -1
index 6e49e8fd1f..1d6f6bf37e 100644
@@ -804,7 +804,7 @@ void __init start_xen(unsigned long boot_phys_offset,
     local_irq_enable();
     local_abort_enable();
 
-    smp_prepare_cpus(cpus);
+    smp_prepare_cpus();
 
     initialize_keytable();
 
xen/arch/arm/smpboot.c +1 -1
index 62f795f68e..b2116f0d2d 100644
@@ -283,7 +283,7 @@ smp_get_max_cpus (void)
 }
 
 void __init
-smp_prepare_cpus (unsigned int max_cpus)
+smp_prepare_cpus(void)
 {
     cpumask_copy(&cpu_present_map, &cpu_possible_map);
 
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel