[LV] [PATCH] swpipl: Remove bogus R10 clobber

Maciej W. Rozycki macro at linux-mips.org
Sun Jun 14 05:14:29 CEST 2009


 There is no need to mark R10 as clobbered in swpipl(); the inline asm 
used does not touch the register.

Signed-off-by: Maciej W. Rozycki <macro at linux-mips.org>
---

 Jan-Benedict, please apply.

  Maciej

patch-mips-2.6.18-20060920-vax-swpipl-0
Index: linux-mips-2.6.18-20060920-cougar/include/asm-vax/system.h
===================================================================
--- linux-mips-2.6.18-20060920-cougar.orig/include/asm-vax/system.h
+++ linux-mips-2.6.18-20060920-cougar/include/asm-vax/system.h
@@ -92,7 +92,7 @@ struct task_struct *__switch_to(struct t
 		"	mtpr	%1, $0x12 #swpipl	\n"	\
 		: "=&r" (__r0)					\
 		: "r" (ipl)					\
-		: "r10", "memory");				\
+		: "memory");					\
 								\
         __r0;							\
 })
_______________________________________________
Linux-Vax mailing list
Linux-Vax at mail.pergamentum.com
http://mail.pergamentum.com/mailman/listinfo/linux-vax




More information about the Vax-linux mailing list