[LV] [PATCH] swpipl: Remove bogus R10 clobber
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@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@mail.pergamentum.com http://mail.pergamentum.com/mailman/listinfo/linux-vax
Teilnehmer (1)
-
Maciej W. Rozycki