summaryrefslogtreecommitdiff
path: root/include/asm-frv/system.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2007-06-06 13:39:40 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-08 04:00:25 +0400
commit2c750edd39a45402e355459194fe8804366bedd2 (patch)
treea221ad0cd5f86dadf1c4901f628cff3aef30569d /include/asm-frv/system.h
parent8a2e21038df74c4401f422346b9371a959c21438 (diff)
downloadlinux-2c750edd39a45402e355459194fe8804366bedd2.tar.xz
frv: build fix
In file included from /usr/src/linux-2.6-2/net/ipv4/ip_input.c:118: include2/asm/system.h:245: error: parse error before "__cmpxchg_32" include2/asm/system.h:245: error: parse error before '*' token include2/asm/system.h:245: warning: type defaults to `int' in declaration of `__cmpxchg_32' include2/asm/system.h:245: warning: function declaration isn't a prototype include2/asm/system.h:245: warning: data definition has no type or storage class Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-frv/system.h')
-rw-r--r--include/asm-frv/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-frv/system.h b/include/asm-frv/system.h
index be303b3eef40..6931af525da3 100644
--- a/include/asm-frv/system.h
+++ b/include/asm-frv/system.h
@@ -12,6 +12,7 @@
#ifndef _ASM_SYSTEM_H
#define _ASM_SYSTEM_H
+#include <linux/types.h>
#include <linux/linkage.h>
struct thread_struct;