[parisc-linux-cvs] export $global$ for modutils, not data_start

Richard Hirst rhirst@linuxcare.com
Wed, 4 Apr 2001 00:45:08 +0100


Sorry folks, I screwed up.  modutils needs to know the kernels
dp value (32 bit kernels), and I had taken it as data_start.
It should of course be $global$.  Didn't used to matter because
they were the same, but that must have changed recently.
A matching change is needed to modutils, which will hopefully
make it in to modutils 2.4.6.

Richard


Index: arch/parisc/kernel/parisc_ksyms.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/parisc_ksyms.c,v
retrieving revision 1.16
diff -u -r1.16 parisc_ksyms.c
--- parisc_ksyms.c      2001/03/04 04:31:07     1.16
+++ parisc_ksyms.c      2001/04/03 23:27:53
@@ -68,9 +68,9 @@
 
 /* Needed so insmod can set dp value */
 
-extern int data_start;
+extern int $global$;
 
-EXPORT_SYMBOL_NOVERS(data_start);
+EXPORT_SYMBOL_NOVERS($global$);
 
 #include <asm/gsc.h>
 EXPORT_SYMBOL(_gsc_writeb);