Re: [patch] use __u32 in asm-x86_64/msr.h

From: Dave Jones
Date: Mon Jan 29 2007 - 22:56:32 EST


On Mon, Jan 29, 2007 at 07:25:08PM -0500, Mike Frysinger wrote:
> the checking_wrmsrl() macro in asm-x86_64/msr.h which is exported to userspace
> utilizes the u32 type instead of __u32 ... trivial attached patch fixes that

Better would be to not export those macros to userspace at all,
as they can't be used outside of ring 0 anyway.

Dave

--
http://www.codemonkey.org.uk
-
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/