2.1.31 comments

Klaus Kudielka (oe1kib@oe1xtu.ampr.org)
Fri, 04 Apr 1997 11:32:20 +0000


I did the following to make it compile and run at least with SCSI
modules (i386, single processor, MCA). I hope everything is correct.

There are unresolved symbols in isdn.o, teles.o, hisax.o.

--- netsyms.c.orig Fri Apr 4 09:52:45 1997
+++ netsyms.c Fri Apr 4 08:26:59 1997
@@ -150,10 +150,6 @@
EXPORT_SYMBOL(scm_detach_fds);
#endif

-#ifdef CONFIG_SMB_FS_MODULE
-EXPORT_SYMBOL(scm_detach_fds);
-#endif
-
#ifdef CONFIG_INET
/* Internet layer registration */
EXPORT_SYMBOL(inet_add_protocol);
@@ -264,7 +260,6 @@
EXPORT_SYMBOL(register_trdev);
EXPORT_SYMBOL(unregister_trdev);
EXPORT_SYMBOL(init_trdev);
-EXPORT_SYMBOL(csum_partial_copy);
#endif

#ifdef CONFIG_NET_ALIAS
--- hardirq.h.orig Fri Apr 4 10:02:00 1997
+++ hardirq.h Fri Apr 4 10:04:06 1997
@@ -1,9 +1,6 @@
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H

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

#define hardirq_trylock(cpu) ((cpu)==0) /* always true */
@@ -12,7 +9,11 @@
#define hardirq_enter(cpu) (local_irq_count[cpu]++)
#define hardirq_exit(cpu) (local_irq_count[cpu]--)

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

extern unsigned char global_irq_holder;
extern unsigned volatile int global_irq_lock;

Regards,
Klaus

--
Klaus Kudielka OE1KIB        Peter Jordanstr. 165, A-1180 Wien, AUSTRIA
oe1kib@oe1xtu.ampr.org                  http://oe1xtu.ampr.org/~oe1kib/
OE1KIB@OE1XIB.AUT.EU            http://asterix.nt.tuwien.ac.at/~oe1kib/