Эх сурвалжийг харах

unconditionally include asm/types.h from linux/types.h

Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Jaswinder Singh Rajput 16 жил өмнө
parent
commit
9d50638bae

+ 2 - 1
include/linux/types.h

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