[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: smpboot: drop unneeded code in start_secondary
commit d10133480c497695e98b11b3401de6ec118bac33 Author: Peng Fan <van.freenix@xxxxxxxxx> AuthorDate: Thu May 19 17:22:07 2016 +0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Fri Jun 17 10:22:16 2016 +0100 xen/arm: smpboot: drop unneeded code in start_secondary CPU0 boots up secondary CPUs one by one. Before booting one secondary CPU, CPU0 will assign hwid to smp_up_cpu and flush cache. After a secondary CPU boots up, CPU0 will assign MPIDR_INVALID to smp_up_cpu and flush cache. There is no need for secondary CPUs to assign MPIDR_INVALID to smp_up_cpu. So, drop it. Signed-off-by: Peng Fan <van.freenix@xxxxxxxxx> Reviewed-by: Julien Grall <julien.grall@xxxxxxx> Cc: 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 ba83406..3a962f7 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -310,7 +310,6 @@ void start_secondary(unsigned long boot_phys_offset, smp_wmb(); /* Now report this CPU is up */ - smp_up_cpu = MPIDR_INVALID; cpumask_set_cpu(cpuid, &cpu_online_map); smp_wmb(); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |