unconditionally include asm/types.h from linux/types.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 8 Feb 2009 05:30:25 +0000 (11:00 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Mar 2009 17:14:12 +0000 (18:14 +0100)
Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/types.h

index c30973a..fca82ed 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _LINUX_TYPES_H
 #define _LINUX_TYPES_H
 
+#include <asm/types.h>
+
 #ifndef __ASSEMBLY__
 #ifdef __KERNEL__
 
@@ -10,7 +12,6 @@
 #endif
 
 #include <linux/posix_types.h>
-#include <asm/types.h>
 
 #ifndef __KERNEL_STRICT_NAMES