Thread (13 messages) 13 messages, 3 authors, 2012-05-17
STALE5136d
Revisions (2)
  1. v1 current
  2. v1 [diff vs current]

[PATCH 1/8] MIPS: Octeon: delay enable irq to ->smp_finish()

From: Yong Zhang <hidden>
Date: 2012-05-17 10:10:43
Also in: lkml
Subsystem: mips, the rest · Maintainers: Thomas Bogendoerfer, Linus Torvalds

From: Yong Zhang <redacted>

To prepare for smoothing set_cpu_[active|online]() mess up

Signed-off-by: Yong Zhang <redacted>
Cc: Ralf Baechle <redacted>
Cc: David Daney <redacted>
---
 arch/mips/cavium-octeon/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 97e7ce9..ef9c34a 100644
--- 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();
 }
 
 /**
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help