lkml.org 
[lkml]   [1998]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: pre-patch-2.1.89-2
> 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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.048 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site