瀏覽代碼

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 年之前
父節點
當前提交
9d50638bae
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      include/linux/types.h

+ 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