Skip to contentSkip to conversation

frv: build fix

PATCH In review Peter Zijlstra 2 participants 2 messages Jun 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

include/asm-frv/system.h +1 -0
index be303b3..6931af5 100644
@@ -12,6 +12,7 @@
 #ifndef _ASM_SYSTEM_H
 #define _ASM_SYSTEM_H
 
+#include <linux/types.h>
 #include <linux/linkage.h>
 
 struct thread_struct;