patch-2.1.23 linux/arch/alpha/mm/extable.c

Next file: linux/arch/alpha/mm/init.c
Previous file: linux/arch/alpha/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/arch/alpha/mm/extable.c linux/arch/alpha/mm/extable.c
@@ -34,6 +34,8 @@
         return 0;
 }
 
+register unsigned long gp __asm__("$29");
+
 unsigned
 search_exception_table(unsigned long addr)
 {
@@ -41,7 +43,6 @@
 
 #ifndef CONFIG_MODULE
 	/* There is only the kernel to search.  */
-	register unsigned long gp __asm__("$29");
 	ret = search_one_table(__start___ex_table, __stop___ex_table - 1,
 			       addr - gp);
 	if (ret) return ret;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov