[yocto] [PATCH 1/1] mips/rt: convert timer interrupt handler to no threaded

Liming Wang liming.wang at windriver.com
Thu Aug 25 00:11:29 PDT 2011


It's a known issue that preempt_rt kernel must convert the
main timer interrupt handler to no threaded, otherwise kernel
can't work well.

Signed-off-by: Liming Wang <liming.wang at windriver.com>
---
 arch/mips/kernel/i8259.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
index 5c74eb7..fb338db 100644
--- a/arch/mips/kernel/i8259.c
+++ b/arch/mips/kernel/i8259.c
@@ -295,6 +295,7 @@ static void init_8259A(int auto_eoi)
 static struct irqaction irq2 = {
 	.handler = no_action,
 	.name = "cascade",
+	.flags = IRQF_NO_THREAD,
 };
 
 static struct resource pic1_io_resource = {
-- 
1.7.0.4




More information about the yocto mailing list