projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2531d64
)
xen/smp: Remove unnecessary call to smp_processor_id()
author
Srivatsa S. Bhat
<srivatsa.bhat@linux.vnet.ibm.com>
Thu, 22 Mar 2012 12:59:24 +0000
(18:29 +0530)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Fri, 6 Apr 2012 16:13:30 +0000
(12:13 -0400)
There is an extra and unnecessary call to smp_processor_id()
in cpu_bringup(). Remove it.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/smp.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/smp.c
b/arch/x86/xen/smp.c
index
240def4
..
e845555
100644
(file)
--- a/
arch/x86/xen/smp.c
+++ b/
arch/x86/xen/smp.c
@@
-59,7
+59,7
@@
static irqreturn_t xen_reschedule_interrupt(int irq, void *dev_id)
static void __cpuinit cpu_bringup(void)
{
- int cpu
= smp_processor_id()
;
+ int cpu;
cpu_init();
touch_softlockup_watchdog();