Skip to content

Commit 93f3788

Browse files
aegltorvalds
authored andcommitted
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 <asm/switch_to.h> (for definition of pfm_syst_info). Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 55a3203 commit 93f3788

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/ia64/include/asm/cmpxchg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* Future home of xchg() and cmpxchg() */

arch/ia64/kernel/process.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <asm/pgalloc.h>
3939
#include <asm/processor.h>
4040
#include <asm/sal.h>
41+
#include <asm/switch_to.h>
4142
#include <asm/tlbflush.h>
4243
#include <asm/uaccess.h>
4344
#include <asm/unwind.h>

0 commit comments

Comments
 (0)