Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Zijlstra and committed by
Linus Torvalds
2c750edd 8a2e2103

+1
+1
include/asm-frv/system.h
··· 12 12 #ifndef _ASM_SYSTEM_H 13 13 #define _ASM_SYSTEM_H 14 14 15 + #include <linux/types.h> 15 16 #include <linux/linkage.h> 16 17 17 18 struct thread_struct;