On 2011-8-25 15:11, Liming Wang wrote:
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.
Sorry, I'm wrong, irq2 is not the timer interrupt handler, it's described as:
"IRQ2 is cascade interrupt to second interrupt controller".
I will re-send the the mail.

Liming Wang
Signed-off-by: Liming Wang<[email protected]>
---
  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 = {

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to