patch-2.4.19 linux-2.4.19/arch/m68k/hp300/time.c

Next file: linux-2.4.19/arch/m68k/kernel/entry.S
Previous file: linux-2.4.19/arch/m68k/config.in
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/m68k/hp300/time.c linux-2.4.19/arch/m68k/hp300/time.c
@@ -41,7 +41,7 @@
   unsigned long tmp;
   void (*vector)(int, void *, struct pt_regs *) = dev_id;
   readb(CLOCKBASE + CLKSR);
-  asm volatile ("movpw %1@(5),%0" : "=r" (tmp) : "a" (CLOCKBASE));
+  asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE));
   vector(irq, NULL, regs);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)