[parisc-linux-cvs] linux grundler
Grant Grundler
grundler@dsl2.external.hp.com
Sun, 16 Mar 2003 15:20:17 -0700
On Sun, Mar 16, 2003 at 03:17:36PM -0700, Grant Grundler wrote:
> Log message:
> 2.4.20-pa29 fix flush_cache_all() symbol exports
as per email posted recently to parisc-linux.
I ran into this when adding qla2xxx v6.0.4 driver and
trying to load it as a module.
Index: Makefile
===================================================================
RCS file: /var/cvs/linux/Makefile,v
retrieving revision 1.388
diff -u -p -r1.388 Makefile
--- Makefile 9 Mar 2003 03:49:49 -0000 1.388
+++ Makefile 16 Mar 2003 22:16:19 -0000
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
-EXTRAVERSION = -pa28
+EXTRAVERSION = -pa29
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
Index: arch/parisc/kernel/parisc_ksyms.c
===================================================================
RCS file: /var/cvs/linux/arch/parisc/kernel/parisc_ksyms.c,v
retrieving revision 1.44
diff -u -p -r1.44 parisc_ksyms.c
--- arch/parisc/kernel/parisc_ksyms.c 11 Jan 2003 20:10:46 -0000 1.44
+++ arch/parisc/kernel/parisc_ksyms.c 16 Mar 2003 22:16:19 -0000
@@ -67,6 +67,7 @@ EXPORT_SYMBOL(__global_restore_flags);
#include <linux/smp.h>
EXPORT_SYMBOL(smp_num_cpus);
+EXPORT_SYMBOL(smp_call_function);
#endif /* CONFIG_SMP */
#include <asm/atomic.h>
@@ -127,7 +128,13 @@ EXPORT_SYMBOL(outsl);
#include <asm/cache.h>
EXPORT_SYMBOL(flush_kernel_dcache_range_asm);
EXPORT_SYMBOL(flush_kernel_dcache_page);
-EXPORT_SYMBOL(flush_all_caches);
+
+/* asm/pgalloc.h doesn't include all it's dependencies */
+extern void __flush_dcache_page(struct page *page);
+EXPORT_SYMBOL(__flush_dcache_page);
+
+extern void flush_cache_all_local(void);
+EXPORT_SYMBOL(flush_cache_all_local);
#include <asm/unistd.h>
extern long sys_open(const char *, int, int);