Patchwork [2/4] Enabling interrupts at this point causes warning in start_kernel()

login
register
mail settings
Submitter Kristoffer Glembo
Date Dec. 1, 2009, 2:52 p.m.
Message ID <1259679176-29835-2-git-send-email-kristoffer@gaisler.com>
Download mbox | patch
Permalink /patch/39914/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Kristoffer Glembo - Dec. 1, 2009, 2:52 p.m.
Enabling interrupts at this points causes the warning
"start_kernel(): bug: interrupts were enabled early" 
to be printed in start_kernel().

Interrupts are enabled shortly after time_init() in start_kernel().

Tested on LEON only.

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
---
 arch/sparc/kernel/time_32.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/arch/sparc/kernel/time_32.c b/arch/sparc/kernel/time_32.c
index 614ac7b..5b2f595 100644
--- a/arch/sparc/kernel/time_32.c
+++ b/arch/sparc/kernel/time_32.c
@@ -210,9 +210,6 @@  static void __init sbus_time_init(void)
 	btfixup();
 
 	sparc_init_timers(timer_interrupt);
-	
-	/* Now that OBP ticker has been silenced, it is safe to enable IRQ. */
-	local_irq_enable();
 }
 
 void __init time_init(void)