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

Liming Wang liming.wang at windriver.com
Thu Aug 25 01:01:31 PDT 2011


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<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 = {




More information about the yocto mailing list