1 Use __u32 rather than u32 in checking_wrmsrl() exported to userspace.
3 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5 --- a/include/asm-x86_64/msr.h
6 +++ b/include/asm-x86_64/msr.h
12 +#include <linux/types.h>
15 * Access to machine-specific registers (available on 586 and better only)
16 * Note: the rd* operations modify the parameters directly (without using
18 : "c" (msr), "0" (a), "d" (b), "i" (-EFAULT)); \
21 -#define checking_wrmsrl(msr,val) wrmsr_safe(msr,(u32)(val),(u32)((val)>>32))
22 +#define checking_wrmsrl(msr,val) wrmsr_safe(msr,(__u32)(val),(__u32)((val)>>32))
24 #define rdmsr_safe(msr,a,b) \