patch-2.4.20 linux-2.4.20/include/asm-parisc/delay.h

Next file: linux-2.4.20/include/asm-parisc/dma.h
Previous file: linux-2.4.20/include/asm-parisc/current.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-parisc/delay.h linux-2.4.20/include/asm-parisc/delay.h
@@ -11,13 +11,11 @@
  * Delay routines
  */
 
-extern unsigned long loops_per_sec;
-
 static __inline__ void __delay(unsigned long loops) {
 	asm volatile(
-	"	.balignl	64,0x34000034
-		addib,UV -1,%0,.
-		nop"
+	"	.balignl	64,0x34000034\n"
+	"	addib,UV -1,%0,.\n"
+	"	nop\n"
 		: "=r" (loops) : "0" (loops));
 }
 

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