diff options
Diffstat (limited to 'arch/mips/loongson/lemote-2f/irq.c')
| -rw-r--r-- | arch/mips/loongson/lemote-2f/irq.c | 23 | 
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/mips/loongson/lemote-2f/irq.c b/arch/mips/loongson/lemote-2f/irq.c index 081db102bb9..6f8682e4448 100644 --- a/arch/mips/loongson/lemote-2f/irq.c +++ b/arch/mips/loongson/lemote-2f/irq.c @@ -2,9 +2,9 @@   * Copyright (C) 2007 Lemote Inc.   * Author: Fuxin Zhang, zhangfx@lemote.com   * - *  This program is free software; you can redistribute  it and/or modify it - *  under  the terms of  the GNU General  Public License as published by the - *  Free Software Foundation;  either version 2 of the  License, or (at your + *  This program is free software; you can redistribute	 it and/or modify it + *  under  the terms of	 the GNU General  Public License as published by the + *  Free Software Foundation;  either version 2 of the	License, or (at your   *  option) any later version.   */ @@ -18,10 +18,10 @@  #include <loongson.h>  #include <machine.h> -#define LOONGSON_TIMER_IRQ	(MIPS_CPU_IRQ_BASE + 7)	/* cpu timer */ -#define LOONGSON_NORTH_BRIDGE_IRQ	(MIPS_CPU_IRQ_BASE + 6)	/* bonito */ -#define LOONGSON_UART_IRQ	(MIPS_CPU_IRQ_BASE + 3)	/* cpu serial port */ -#define LOONGSON_SOUTH_BRIDGE_IRQ	(MIPS_CPU_IRQ_BASE + 2)	/* i8259 */ +#define LOONGSON_TIMER_IRQ	(MIPS_CPU_IRQ_BASE + 7) /* cpu timer */ +#define LOONGSON_NORTH_BRIDGE_IRQ	(MIPS_CPU_IRQ_BASE + 6) /* bonito */ +#define LOONGSON_UART_IRQ	(MIPS_CPU_IRQ_BASE + 3) /* cpu serial port */ +#define LOONGSON_SOUTH_BRIDGE_IRQ	(MIPS_CPU_IRQ_BASE + 2) /* i8259 */  #define LOONGSON_INT_BIT_INT0		(1 << 11)  #define LOONGSON_INT_BIT_INT1		(1 << 12) @@ -96,20 +96,21 @@ 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)  {  	/* init all controller -	 *   0-15         ------> i8259 interrupt -	 *   16-23        ------> mips cpu interrupt -	 *   32-63        ------> bonito irq +	 *   0-15	  ------> i8259 interrupt +	 *   16-23	  ------> mips cpu interrupt +	 *   32-63	  ------> bonito irq  	 */  	/* setup cs5536 as high level trigger */  | 
