From: Mike Frysinger Date: Tue, 15 Jan 2008 15:44:38 +0000 (+0100) Subject: x86: asm-x86/msr.h: pull in linux/types.h X-Git-Tag: v2.6.24-rc8~5^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43a3312c77eb6bbf71fbadefb1683f6d197bf91;p=linux-2.6 x86: asm-x86/msr.h: pull in linux/types.h Since the msr.h header uses types like __u32, it should pull in linux/types.h. [ mingo@elte.hu: affects user-space that includes this header. We dont actually like user-space including raw kernel headers but it's a longstanding practice and it's easy for the kernel to be nice about this. ] Signed-off-by: Mike Frysinger Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h index 664a2fa7ad..80b027081b 100644 --- a/include/asm-x86/msr.h +++ b/include/asm-x86/msr.h @@ -3,6 +3,10 @@ #include +#ifndef __ASSEMBLY__ +# include +#endif + #ifdef __i386__ #ifdef __KERNEL__