Skip to content

Commit

Permalink
MIPS: Loongson: Mark cascade interrupts IRQF_NO_THREAD
Browse files Browse the repository at this point in the history
There are two cascade interrupts in Loongson machines, one for bonito
northbridge, another for the 8259A controller in the southbridge. Both
want to be non threaded.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/2638/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Sep 21, 2011
1 parent 5a4a4ad commit 77cbece
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/mips/loongson/fuloong-2e/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ asmlinkage void mach_irq_dispatch(unsigned int pending)
static struct irqaction cascade_irqaction = {
.handler = no_action,
.name = "cascade",
.flags = IRQF_NO_THREAD,
};

void __init mach_init_irq(void)
Expand Down
3 changes: 2 additions & 1 deletion arch/mips/loongson/lemote-2f/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,13 @@ static irqreturn_t ip6_action(int cpl, void *dev_id)
struct irqaction ip6_irqaction = {
.handler = ip6_action,
.name = "cascade",
.flags = IRQF_SHARED,
.flags = IRQF_SHARED | IRQF_NO_THREAD,
};

struct irqaction cascade_irqaction = {
.handler = no_action,
.name = "cascade",
.flags = IRQF_NO_THREAD,
};

void __init mach_init_irq(void)
Expand Down

0 comments on commit 77cbece

Please sign in to comment.