summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2015-04-24 14:48:35 +0800
committerLey Foon Tan <lftan@altera.com>2015-04-24 14:49:14 +0800
commit2009337e30cdae64405ea7b8fa1578b921508871 (patch)
tree5cb98c4bb692e404ecf5eaa5e779c61b2d159b1d /arch/nios2
parentbaa54ab93c2e1ced7e54f9c021fe102c0d39c090 (diff)
downloadop-kernel-dev-2009337e30cdae64405ea7b8fa1578b921508871.zip
op-kernel-dev-2009337e30cdae64405ea7b8fa1578b921508871.tar.gz
nios2: Add types.h header required for __u32 type
Reported by the header checker (CONFIG_HEADERS_CHECK=y): CHECK usr/include/asm/ (31 files) ./usr/include/asm/ptrace.h:77: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/uapi/asm/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/include/uapi/asm/ptrace.h b/arch/nios2/include/uapi/asm/ptrace.h
index eff00e67..1d35de9 100644
--- a/arch/nios2/include/uapi/asm/ptrace.h
+++ b/arch/nios2/include/uapi/asm/ptrace.h
@@ -14,6 +14,8 @@
#ifndef __ASSEMBLY__
+#include <linux/types.h>
+
/*
* Register numbers used by 'ptrace' system call interface.
*/
OpenPOWER on IntegriCloud