summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2015-04-24 08:48:35 +0200
committerLey Foon Tan <lftan@altera.com>2015-04-24 08:49:14 +0200
commit2009337e30cdae64405ea7b8fa1578b921508871 (patch)
tree5cb98c4bb692e404ecf5eaa5e779c61b2d159b1d /arch/nios2
parentnios2: rework trap handler (diff)
downloadlinux-2009337e30cdae64405ea7b8fa1578b921508871.tar.xz
linux-2009337e30cdae64405ea7b8fa1578b921508871.zip
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 eff00e67c0a2..1d35de90a977 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.
*/