patch-2.1.21 linux/include/asm-sparc64/uaccess.h

Next file: linux/include/linux/ext_fs.h
Previous file: linux/include/asm-sparc/uaccess.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.20/linux/include/asm-sparc64/uaccess.h linux/include/asm-sparc64/uaccess.h
@@ -58,7 +58,7 @@
  *
  * There is a special way how to put a range of potentially faulting
  * insns (like twenty ldd/std's with now intervening other instructions)
- * You specify address of first in insn and 0 in fixup and in the next 
+ * You specify address of first in insn and 0 in fixup and in the next
  * exception_table_entry you specify last potentially faulting insn + 1
  * and in fixup the routine which should handle the fault.
  * That fixup code will get
@@ -167,10 +167,11 @@
 "3:\n\t"								\
 	"b	2b\n\t"							\
 	" mov	%3, %0\n\n\t"						\
+	".previous\n\t"							\
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b, 3b\n\t"						\
-	".text\n\n\t"							\
+	".previous\n\n\t"						\
        : "=&r" (ret) : "r" (x), "r" (__m(addr)),			\
 	 "i" (-EFAULT))
 
@@ -182,7 +183,7 @@
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b, __ret_efault\n\n\t"					\
-	".text\n\n\t"							\
+	".previous\n\n\t"						\
        : "=r" (foo) : "r" (x), "r" (__m(addr)));			\
 else									\
 __asm__ __volatile(							\
@@ -193,10 +194,11 @@
 "3:\n\t"								\
 	"ret\n\t"							\
 	" restore %%g0, %3, %%o0\n\n\t"					\
+	".previous\n\t"							\
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b, 3b\n\n\t"						\
-	".text\n\n\t"							\
+	".previous\n\n\t"						\
        : "=r" (foo) : "r" (x), "r" (__m(addr)), "i" (ret))
 
 extern int __put_user_bad(void);
@@ -257,10 +259,11 @@
 	"clr	%1\n\t"							\
 	"b	2b\n\t"							\
 	" mov	%3, %0\n\n\t"						\
+	".previous\n\t"							\
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b, 3b\n\n\t"						\
-	".text\n\t"							\
+	".previous\n\t"							\
        : "=&r" (ret), "=&r" (x) : "r" (__m(addr)),			\
 	 "i" (-EFAULT))
 
@@ -272,7 +275,7 @@
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b,__ret_efault\n\n\t"					\
-	".text\n\t"							\
+	".previous\n\t"							\
        : "=&r" (x) : "r" (__m(addr)));					\
 else									\
 __asm__ __volatile__(							\
@@ -283,10 +286,11 @@
 "3:\n\t"								\
 	"ret\n\t"							\
 	" restore %%g0, %2, %%o0\n\n\t"					\
+	".previous\n\t"							\
 	".section __ex_table,#alloc\n\t"				\
 	".align	4\n\t"							\
 	".word	1b, 3b\n\n\t"						\
-	".text\n\t"							\
+	".previous\n\t"							\
        : "=&r" (x) : "r" (__m(addr)), "i" (retval))
 
 extern int __get_user_bad(void);

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