Few compilation fixes for pre-2.1.90-3

Khimenko Victor (khim@sch57.msk.ru)
Wed, 18 Mar 1998 00:32:45 +0300 (MSK)


There are still some compilation problems not fixed in pre-2.1.90-3:

1. Poor net/802/tr.c does not have "}" at the end in pre-2.1.90-2. Now it's has
two "}" at the end and this is also will not compile :-(

2. drivers/net/seeq8005.c uses udelay but does not include <linux/delay.h>.
Since udelay is actually macros on (at least) i386 this will lead to undefined
symbols on linking phase.

2. Hisax driver could not be compiled as module with SMP. It's uses kstat_irqs
and kstat_irqs is inline function with usage of smp_num_cpus and cpu_logical_map
where cpu_logical_map is inline function with usage of __cpu_logical_map. May be
Hisax driver must be changed to avoid usage of kstat_irqs or this patch must be
used:

--- arch/i386/kernel/i386_ksyms.c Mon Mar 9 19:58:36 1998
+++ arch/i386/kernel/i386_ksyms.c Mon Mar 9 19:59:48 1998
@@ -69,5 +69,7 @@
EXPORT_SYMBOL_NOVERS(active_kernel_processor);
EXPORT_SYMBOL(smp_invalidate_needed);
EXPORT_SYMBOL_NOVERS(__lock_kernel);
+EXPORT_SYMBOL(__cpu_logical_map);
+EXPORT_SYMBOL_NOVERS(smp_num_cpus);
EXPORT_SYMBOL(lk_lockmsg);

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