lkml.org 
[lkml]   [1998]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.1.89-pre5 compilation problems
Hello,
2.1.89-pre5 doesn't compile on non-SMP ix86 systems (undefined reference
to enable_IO_APIC_irq).

The following patch fixes it:

--- irq.c~ Sun Mar 1 18:36:12 1998
+++ irq.c Sun Mar 1 18:56:16 1998
@@ -174,12 +174,16 @@

void unmask_generic_irq(unsigned int irq)
{
+#ifdef __SMP__
if (IO_APIC_IRQ(irq))
enable_IO_APIC_irq(irq);
else {
+#endif
cached_irq_mask &= ~(1 << irq);
set_8259A_irq_mask(irq);
+#ifdef __SMP__
}
+#endif
}

/*


-
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.033 / U:1.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site