patch-2.4.20 linux-2.4.20/arch/mips/kernel/old-irq.c
Next file: linux-2.4.20/arch/mips/kernel/old-time.c
Previous file: linux-2.4.20/arch/mips/kernel/mips_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/kernel/old-irq.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/kernel/old-irq.c linux-2.4.20/arch/mips/kernel/old-irq.c
@@ -130,7 +130,7 @@
for (i = 0 ; i < 32 ; i++) {
action = irq_action[i];
- if (!action)
+ if (!action)
continue;
len += sprintf(buf+len, "%2d: %8d %c %s",
i, kstat.irqs[0][i],
@@ -286,7 +286,7 @@
* specific variants. For now we still use this as broken as it is because
* it used to work ...
*/
-int request_irq(unsigned int irq,
+int request_irq(unsigned int irq,
void (*handler)(int, void *, struct pt_regs *),
unsigned long irqflags, const char * devname, void *dev_id)
{
@@ -315,7 +315,7 @@
kfree(action);
return retval;
}
-
+
void free_irq(unsigned int irq, void *dev_id)
{
struct irqaction * action, **p;
@@ -386,7 +386,7 @@
outb(0x04, 0x21); /* edge tiggered, Cascade (slave) on IRQ2 */
outb(0x01, 0x21); /* Select 8086 mode */
outb(0xff, 0x21); /* Mask all */
-
+
/* Init slave interrupt controller */
outb(0x11, 0xa0); /* Start init sequence */
outb(0x08, 0xa1); /* Vector base */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)