[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: smpboot: drop unneeded code when identifying cpuinfo
commit 3ab5fb9a9eeb2b610d5d74419e0b1ffaf18484f2 Author: Peng Fan <van.freenix@xxxxxxxxx> AuthorDate: Fri Sep 2 17:41:41 2016 +0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Wed Sep 14 18:28:35 2016 -0700 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 <peng.fan@xxxxxxx> Acked-by: Julien Grall <julien.grall@xxxxxxx> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/arch/arm/smpboot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index d56b91d..90ad1d0 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -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(); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |