Messages in this thread |  | | | Date | Wed, 12 May 2004 16:02:11 +0200 | | From | Andi Kleen <> | | Subject | Re: [2.6.6-BK] x86_64 has buggy ffs() implementation |
| |
On Wed, 12 May 2004 14:43:37 +0100 Anton Altaparmakov <aia21@cam.ac.uk> wrote:
> Hi Andi, Andrew, Linus, > > x86_64 has incorrect include/asm-x86_64/bitops.h::ffs() implementation. > It uses "g" instead of "rm" in the insline assembled bsfl instruction. > (This was spotted by Yuri Per.) > > bsfl does not accept constant values but only memory ones. On i386 the > correct "rm" is used. > > This causes NTFS build to fail as gcc optimizes a variable into a > constant and ffs() then fails to assemble. > > Please apply below patch. Thanks!
Thanks. I applied it to my tree.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |