]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: asm-x86/msr.h: pull in linux/types.h
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Jan 2008 15:44:38 +0000 (16:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 15 Jan 2008 15:44:38 +0000 (16:44 +0100)
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 <vapier@gentoo.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/msr.h

index 664a2fa7adc90baf18bad2d2424f3136b53ee96d..80b027081b3ce54ffc009e104250283cec5efdda 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <asm/msr-index.h>
 
+#ifndef __ASSEMBLY__
+# include <linux/types.h>
+#endif
+
 #ifdef __i386__
 
 #ifdef __KERNEL__