patch-2.1.31 linux/kernel/module.c
Next file: linux/kernel/panic.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Mar 28 10:53:02 1997
- Orig file:
v2.1.30/linux/kernel/module.c
- Orig date:
Wed Jan 29 03:40:34 1997
diff -u --recursive --new-file v2.1.30/linux/kernel/module.c linux/kernel/module.c
@@ -65,10 +65,7 @@
kernel_module.nsyms = __stop___ksymtab - __start___ksymtab;
#ifdef __alpha__
- {
- register unsigned long gp __asm__("$29");
- kernel_module.gp = gp;
- }
+ __asm__("stq $29,%0" : "=m"(kernel_module.gp));
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov