xen/arm: smpboot: drop unneeded code when identifying cpuinfo
PATCH 1/1 xen/arm: smpboot: drop unneeded code when identifying cpuinfo
The current_cpu_data indicates the cpuinfo for the current cpu. There is no need to fill the current_cpu_data from boot_cpu_data, because the following call to identify_cpu will override it.
Signed-off-by Peng Fan <[email protected]>
Cc Julien Grall <[email protected]>
Cc Stefano Stabellini <[email protected]>
--- xen/arch/arm/smpboot.c | 1 - 1 file changed, 1 deletion(-)
xen/arch/arm/smpboot.c +0 -1
@@ -288,7 +288,6 @@ void start_secondary(unsigned long boot_phys_offset,set_processor_id (cpuid); - current_cpu_data = boot_cpu_data;identify_cpu (¤t_cpu_data);init_traps ();
Signature · 7 lines
2.6.2 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Hello Peng,
Quoted 7 lines · Peng Fan
The
current_cpu_dataindicates the cpuinfo for the current cpu. There is no need to fill thecurrent_cpu_datafromboot_cpu_data, because the following call toidentify_cpuwill override it.Signed-off-by Peng Fan <[email protected]>Cc Julien Grall <[email protected]>Cc Stefano Stabellini <[email protected]>
Acked-by Julien Grall <[email protected]>
Regards,
Quoted 17 lines
--- xen/arch/arm/smpboot.c | 1 - 1 file changed, 1 deletion(-)xen/arch/arm/smpboot.c +0
-1@@ -288,7 +288,6 @@ void start_secondary(unsigned long boot_phys_offset,set_processor_id (cpuid); - current_cpu_data = boot_cpu_data;identify_cpu (¤t_cpu_data);init_traps ();
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel