pre-patch-2.1.89-3

Kjartan Maraas (kmaraas@fib.hl.no)
Fri, 27 Feb 1998 09:05:55 +0000


This is a multi-part message in MIME format.
--------------18F9CE257B795C1D23C619D9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

While compiling this one today it stopped with the following message in
the log:

arch/i386/kernel/kernel.o: In function 'unmask_generic_irq':
arch/i386/kernel/kernel.o(.text+0x22e5): undefined reference to
'enable_IO_APIC_irq'

I have attached is a patch that makes it compile. I am writing this
using a kernel compiled with the patch, but since this is my first patch
ever it might be wrong.

The sound still does not work. (sound.o: unresolved symbol(s) errno

The floppy driver seems to behave a bit weird also. When I copy a file
to a floppy using mcopy I get this:

floppy0: long rw: 24 instead of 2
rs=1 s=1
rh=0 h=0
rt=1 t=0
spt=2 st=0 ss=1

This is repeated with different values.

Cheers
Kjartan
--------------18F9CE257B795C1D23C619D9
Content-Type: text/plain; charset=us-ascii; name="irq.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="irq.c.diff"

--- irq.bak Fri Feb 27 09:08:05 1998
+++ irq.c Fri Feb 27 09:25:56 1998
@@ -174,12 +174,13 @@

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

/*

--------------18F9CE257B795C1D23C619D9--

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