From: Kenn H. <ke...@us...> - 2005-04-20 19:01:15
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19653 Modified Files: tlbflush.h Log Message: The first argument for mtpr doesn't need to be in memory, so use "g" as the constraint instead of "m" in __flush_tlb_one(). (GCC 4.1 complained about uses that didn't end up with the argument in memory.) Index: tlbflush.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/tlbflush.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- tlbflush.h 16 Feb 2003 00:13:17 -0000 1.3 +++ tlbflush.h 20 Apr 2005 19:01:05 -0000 1.4 @@ -21,7 +21,7 @@ __asm__ __volatile__("mtpr $0,%0" : : "i" (PR_TBIA) ) #define __flush_tlb_one(addr) \ -__asm__ __volatile__("mtpr %0,%1" : :"m" (addr), "i" (PR_TBIS) ) +__asm__ __volatile__("mtpr %0,%1" : :"g" (addr), "i" (PR_TBIS) ) #define flush_tlb() __flush_tlb() #define flush_tlb_all() __flush_tlb() |