2.4.18/2.5.39 include/asm-alpha/mmu_context.h compile fix
PATCH 1/1 2.4.18/2.5.39 include/asm-alpha/mmu_context.h compile fix
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.
Signature · 1 line
Falk
include/asm-alpha/mmu_context.h renamed from include/asm-alpha/mmu_context.h~ +1 -1
@@ -25,23 +25,23 @@extern inline unsigned long __reload_thread (struct pcb_struct *pcb) { registerunsigned long a0 __asm__("$16" ); registerunsigned 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