浏览代码

headers_check fix: x86, ptrace-abi.h

fix the following 'make headers_check' warnings:

  usr/include/asm/ptrace-abi.h:86: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/ptrace-abi.h:93: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Jaswinder Singh Rajput 16 年之前
父节点
当前提交
420ab35eef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/include/asm/ptrace-abi.h

+ 1 - 1
arch/x86/include/asm/ptrace-abi.h

@@ -83,7 +83,7 @@
 #ifdef CONFIG_X86_PTRACE_BTS
 #ifdef CONFIG_X86_PTRACE_BTS
 
 
 #ifndef __ASSEMBLY__
 #ifndef __ASSEMBLY__
-#include <asm/types.h>
+#include <linux/types.h>
 
 
 /* configuration/status structure used in PTRACE_BTS_CONFIG and
 /* configuration/status structure used in PTRACE_BTS_CONFIG and
    PTRACE_BTS_STATUS commands.
    PTRACE_BTS_STATUS commands.