projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68b6352
)
MIPS: Octeon: delay enable irq to ->smp_finish()
author
Yong Zhang
<
[email protected]
>
Thu, 19 Jul 2012 07:13:53 +0000
(09:13 +0200)
committer
Ralf Baechle
<
[email protected]
>
Thu, 19 Jul 2012 09:23:44 +0000
(11:23 +0200)
To prepare for smoothing set_cpu_[active|online]() mess up
Signed-off-by: Yong Zhang <
[email protected]
>
Cc: Sergei Shtylyov <
[email protected]
>
Cc: David Daney <
[email protected]
>
Acked-by: David Daney <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/3845/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/cavium-octeon/smp.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/smp.c
b/arch/mips/cavium-octeon/smp.c
index 4b93048044eb266457b4c9ac80a164c056e6eba9..ee1fb9f7f517c29e1ce6781699cbf90e75a314ce 100644
(file)
--- a/
arch/mips/cavium-octeon/smp.c
+++ b/
arch/mips/cavium-octeon/smp.c
@@
-185,7
+185,6
@@
static void __cpuinit octeon_init_secondary(void)
octeon_init_cvmcount();
octeon_irq_setup_secondary();
- raw_local_irq_enable();
}
/**
@@
-233,6
+232,7
@@
static void octeon_smp_finish(void)
/* to generate the first CPU timer interrupt */
write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ);
+ local_irq_enable();
}
/**