Messages in this thread Patch in this message |  | | | Subject | Fix ipv6 module | | Date | Mon, 21 Apr 1997 12:40:13 +0200 | | From | Joerg Lehrke <> |
| |
Hi!
Some symbols are missing in 2.1.35, so you can't compile ipv6 as module. Here the fixes:
diff -u --recursive --new-file linux-2.1.35/arch/i386/kernel/i386_ksyms.c linux-2.1.35++/arch/i386/kernel/i386_ksyms.c --- linux-2.1.35/arch/i386/kernel/i386_ksyms.c Tue Apr 8 19:19:42 1997 +++ linux-2.1.35++/arch/i386/kernel/i386_ksyms.c Sun Apr 20 19:01:36 1997 @@ -14,6 +14,12 @@ #include <asm/io.h> #include <asm/hardirq.h> +#ifdef __SMP__ +extern atomic_t __intel_bh_counter; +#else +extern int __intel_bh_counter; +#endif + extern void dump_thread(struct pt_regs *, struct user *); extern int dump_fpu(elf_fpregset_t *); extern void __lock_kernel(void); @@ -28,6 +34,7 @@ EXPORT_SYMBOL(__ioremap); EXPORT_SYMBOL(iounmap); EXPORT_SYMBOL(local_irq_count); +EXPORT_SYMBOL(__intel_bh_counter); EXPORT_SYMBOL_NOVERS(__down_failed); EXPORT_SYMBOL_NOVERS(__down_failed_interruptible); EXPORT_SYMBOL_NOVERS(__up_wakeup); diff -u --recursive --new-file linux-2.1.35/kernel/ksyms.c linux-2.1.35++/kernel/ksyms.c --- linux-2.1.35/kernel/ksyms.c Mon Apr 14 18:31:10 1997 +++ linux-2.1.35++/kernel/ksyms.c Sun Apr 20 19:29:56 1997 @@ -19,6 +19,7 @@ #include <linux/sched.h> #include <linux/kernel_stat.h> #include <linux/mm.h> +#include <linux/slab.h> #include <linux/malloc.h> #include <linux/vmalloc.h> #include <linux/ptrace.h> @@ -130,6 +131,19 @@ EXPORT_SYMBOL(num_physpages); EXPORT_SYMBOL(high_memory); EXPORT_SYMBOL(update_vm_cache); + +/* Slab Allocator */ +EXPORT_SYMBOL(kmem_cache_init); +EXPORT_SYMBOL(kmem_cache_sizes_init); +EXPORT_SYMBOL(kmem_cache_create); +EXPORT_SYMBOL(kmem_cache_destroy); +EXPORT_SYMBOL(kmem_cache_shrink); +EXPORT_SYMBOL(kmem_cache_alloc); +EXPORT_SYMBOL(kmem_cache_free); +EXPORT_SYMBOL(kmem_alloc); +EXPORT_SYMBOL(kmem_free); +EXPORT_SYMBOL(kmem_cache_reap); +EXPORT_SYMBOL(get_slabinfo); /* filesystem internal functions */ EXPORT_SYMBOL(getname);
Regards, -- ``--- J"org Lehrke Tel. +49 89 926 99185 ||_ European Computer Research Centre email: jlehrke@ECRC.de ECRC || |@ ,, Arabellastr 17, 81925 Munich, Germany BUSINESS-NET Protect your freedom! http://www.fsf.org Yes, I use PGP.
|  |