summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2015-04-24 09:48:35 +0300
committerLey Foon Tan <lftan@altera.com>2015-04-24 09:49:14 +0300
commit2009337e30cdae64405ea7b8fa1578b921508871 (patch)
tree5cb98c4bb692e404ecf5eaa5e779c61b2d159b1d
parentbaa54ab93c2e1ced7e54f9c021fe102c0d39c090 (diff)
downloadlinux-2009337e30cdae64405ea7b8fa1578b921508871.tar.xz
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>
-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.
*/