patch-2.4.21 linux-2.4.21/include/asm-x86_64/bitops.h

Next file: linux-2.4.21/include/asm-x86_64/checksum.h
Previous file: linux-2.4.21/include/asm-x86_64/apic.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-x86_64/bitops.h linux-2.4.21/include/asm-x86_64/bitops.h
@@ -372,7 +372,7 @@
 	__asm__("bsfl %1,%0\n\t"
 		"jnz 1f\n\t"
 		"movl $-1,%0\n"
-		"1:" : "=r" (r) : "rm" (x));
+		"1:" : "=r" (r) : "g" (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)