From: Luck, Tony Date: Thu, 29 Mar 2012 20:35:22 +0000 (-0700) Subject: Fix ia64 build errors (fallout from system.h disintegration) X-Git-Tag: upstream/snapshot3+hdmi~7822 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93f378883cecb9dcb2cf5b51d9d24175906659da;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Fix ia64 build errors (fallout from system.h disintegration) Fix this build error on ia64: In file included from include/linux/sched.h:92, from arch/ia64/kernel/asm-offsets.c:9: include/linux/llist.h:59:25: error: asm/cmpxchg.h: No such file or directory make[1]: *** [arch/ia64/kernel/asm-offsets.s] Error 1 Right now we don't seem to need any actual contents for the asm/cmpxchg.h to make the build work ... so leave the migration of xchg() and cmpxchg() to this new header file for a future patch. Also process.c needs (for definition of pfm_syst_info). Signed-off-by: Tony Luck Signed-off-by: Linus Torvalds --- diff --git a/arch/ia64/include/asm/cmpxchg.h b/arch/ia64/include/asm/cmpxchg.h new file mode 100644 index 0000000..507c66c --- /dev/null +++ b/arch/ia64/include/asm/cmpxchg.h @@ -0,0 +1 @@ +/* Future home of xchg() and cmpxchg() */ diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index 9dc52b6..ce74e14 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include