Messages in this thread Patch in this message | | | Subject | [PATCH] 2.4.18/2.5.39 include/asm-alpha/mmu_context.h compile fix | From | Falk Hueffner <> | Date | 28 Sep 2002 01:21:29 +0200 |
| |
Hi,
CVS gcc doesn't allow mentioning __asm__("...") registers in the clobber list any more (see also http://gcc.gnu.org/ml/gcc/2002-09/msg00741.html). This patch applies to both 2.4.18 and 2.5.39.
-- Falk
--- linux-2.5.39/include/asm-alpha/mmu_context.h~ 2002-09-27 23:49:55.000000000 +0200 +++ linux-2.5.39/include/asm-alpha/mmu_context.h 2002-09-28 00:47:28.000000000 +0200 @@ -25,23 +25,23 @@ extern inline unsigned long __reload_thread(struct pcb_struct *pcb) { register unsigned long a0 __asm__("$16"); register unsigned long v0 __asm__("$0"); a0 = virt_to_phys(pcb); __asm__ __volatile__( "call_pal %2 #__reload_thread" : "=r"(v0), "=r"(a0) : "i"(PAL_swpctx), "r"(a0) - : "$1", "$16", "$22", "$23", "$24", "$25"); + : "$1", "$22", "$23", "$24", "$25"); return v0; } /* * The maximum ASN's the processor supports. On the EV4 this is 63 * but the PAL-code doesn't actually use this information. On the * EV5 this is 127, and EV6 has 255. * * On the EV4, the ASNs are more-or-less useless anyway, as they are | |