Re: bug report for 2.1.31

John Gotts (jgotts@umich.edu)
Thu, 03 Apr 1997 04:14:39 -0500


In message <199704030838.CAA00555@euphoria.dopamine.com>, "Roy P. Turner" write
s:

>2.1.31 x86.

># depmod -a
>/lib/modules/2.1.31/scsi/sd_mod.o: unresolved symbol(s)
>/lib/modules/2.1.31/scsi/scsi_mod.o: unresolved symbol(s)

Here's an ad hoc fix:

--- linux/include/asm-i386/hardirq.h.orig Thu Apr 3 03:44:17 1997
+++ linux/include/asm-i386/hardirq.h Thu Apr 3 03:44:30 1997
@@ -1,7 +1,7 @@
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H

-extern unsigned int local_irq_count[NR_CPUS];
+unsigned int local_irq_count[NR_CPUS];
#define in_interrupt() (local_irq_count[smp_processor_id()] != 0)

#ifndef __SMP__

--
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts
Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW