patch-2.4.20 linux-2.4.20/include/asm-i386/bitops.h

Next file: linux-2.4.20/include/asm-i386/fixmap.h
Previous file: linux-2.4.20/include/asm-i386/apicdef.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-i386/bitops.h linux-2.4.20/include/asm-i386/bitops.h
@@ -347,7 +347,7 @@
 	__asm__("bsfl %1,%0\n\t"
 		"jnz 1f\n\t"
 		"movl $-1,%0\n"
-		"1:" : "=r" (r) : "g" (x));
+		"1:" : "=r" (r) : "rm" (x));
 	return r+1;
 }
 

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