X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fmomentum%2Focelot_g%2Fgt-irq.c;fp=arch%2Fmips%2Fmomentum%2Focelot_g%2Fgt-irq.c;h=e5eceed1beff3cd2ff7a7502b87103ca1d344523;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=9fb2493fff02494c0bb8789d4e273f5ac786c4c4;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/mips/momentum/ocelot_g/gt-irq.c b/arch/mips/momentum/ocelot_g/gt-irq.c index 9fb2493ff..e5eceed1b 100644 --- a/arch/mips/momentum/ocelot_g/gt-irq.c +++ b/arch/mips/momentum/ocelot_g/gt-irq.c @@ -11,6 +11,7 @@ * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ +#include #include #include #include @@ -58,7 +59,7 @@ void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr) * bit_num - Indicates which bit number in the cause register * * Outputs : - * 1 if successful, 0 if failure + * 1 if succesful, 0 if failure */ int enable_galileo_irq(int int_cause, int bit_num) { @@ -82,7 +83,7 @@ int enable_galileo_irq(int int_cause, int bit_num) * bit_num - Indicates which bit number in the cause register * * Outputs : - * 1 if successful, 0 if failure + * 1 if succesful, 0 if failure */ int disable_galileo_irq(int int_cause, int bit_num) { @@ -173,7 +174,7 @@ void gt64240_time_init(void) * the values to the correct interrupt line. */ timer.handler = >64240_p0int_irq; - timer.flags = IRQF_SHARED | IRQF_DISABLED; + timer.flags = SA_SHIRQ | SA_INTERRUPT; timer.name = "timer"; timer.dev_id = NULL; timer.next = NULL;