Re: pre-patch-2.1.89-2

Trevor Johnson (trevor@jpj.net)
Thu, 26 Feb 1998 10:08:38 -0800 (PST)


> irq.c: In function 'make_8259A_irq':
> irq.c:730: warning: assignment of read-only variable 'io_apic_irqs'

Here's the patch I posted for 2.1.87.
___
Trevor Johnson

--- arch/i386/kernel/irq.c.orig Mon Feb 16 19:04:07 1998
+++ arch/i386/kernel/irq.c Tue Feb 17 00:33:05 1998
@@ -728,7 +728,9 @@

void make_8259A_irq (unsigned int irq)
{
+#ifdef __SMP__
io_apic_irqs &= ~(1<<irq);
+#endif
irq_handles[irq] = &i8259A_irq_type;
disable_irq(irq);
enable_irq(irq);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu