[parisc-linux-cvs] $global$ only exists on 32 bit kernels
Richard Hirst
rhirst@linuxcare.com
Wed, 4 Apr 2001 15:19:17 +0100
Make 64 bit kernels build again.
Index: arch/parisc/kernel/parisc_ksyms.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/parisc_ksyms.c,v
retrieving revision 1.17
diff -u -r1.17 parisc_ksyms.c
--- parisc_ksyms.c 2001/04/03 23:39:07 1.17
+++ parisc_ksyms.c 2001/04/04 14:12:13
@@ -66,11 +66,11 @@
EXPORT_SYMBOL(lcopy_to_user);
EXPORT_SYMBOL(lcopy_from_user);
+#ifndef __LP64__
/* Needed so insmod can set dp value */
-
extern int $global$;
-
EXPORT_SYMBOL_NOVERS($global$);
+#endif
#include <asm/gsc.h>
EXPORT_SYMBOL(_gsc_writeb);