patch-2.1.34 linux/include/asm-sparc/delay.h

Next file: linux/include/asm-sparc/dma.h
Previous file: linux/include/asm-sparc/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/include/asm-sparc/delay.h linux/include/asm-sparc/delay.h
@@ -1,4 +1,4 @@
-/* $Id: delay.h,v 1.8 1996/01/28 02:09:21 davem Exp $
+/* $Id: delay.h,v 1.9 1997/04/11 00:42:19 davem Exp $
  * delay.h: Linux delay routines on the Sparc.
  *
  * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu).
@@ -15,7 +15,8 @@
 			     "1: bne 1b\n\t"
 			     "subcc %0, 1, %0\n" :
 			     "=&r" (loops) :
-			     "0" (loops));
+			     "0" (loops) :
+			     "cc");
 }
 
 /* This is too messy with inline asm on the Sparc. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov