Re: [PATCH] x86: do not expose CONFIG_BSWAP to userspace
From: H. Peter Anvin
Date: Wed Jan 28 2009 - 19:32:12 EST
Harvey Harrison wrote:
On Wed, 2009-01-28 at 15:27 -0800, H. Peter Anvin wrote:
Harvey Harrison wrote:
Well, that's unfortunate, how about we just export the BSWAP version
unconditionally and hope pure i386 just goes away someday?
Well, we already have MOVBE coming up, too...
Is someone already working on an __arch_swab{16|32|64}p to use them?
Not that I know of, but it's trivial enough. They can also be used for
all-register swapping, too, with the advantage that you get register
decoupling.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/