projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7735220
)
xen/arm: smpboot: drop unneeded code when identifying cpuinfo
author
Peng Fan
<van.freenix@gmail.com>
Fri, 2 Sep 2016 09:41:41 +0000
(17:41 +0800)
committer
Stefano Stabellini
<sstabellini@kernel.org>
Thu, 15 Sep 2016 01:28:35 +0000
(18:28 -0700)
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@nxp.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/smpboot.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/smpboot.c
b/xen/arch/arm/smpboot.c
index d56b91d519cdee232e4b44131736404ea57c4391..90ad1d0347ebeed1d308900b64cde0e3fa5db2fe 100644
(file)
--- 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();