summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-09-27 01:49:42 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 08:26:11 -0700
commit2bd0cfbde2c0a74e209acbf045f1298cc2f61e01 (patch)
tree2efb7fb6e574c0cbb6e4d93975a5b519d5c6a190 /include
parent133d205a18b7a4d8cb52959c5310f6664277cf61 (diff)
downloadlinux-2bd0cfbde2c0a74e209acbf045f1298cc2f61e01.tar.gz
linux-2bd0cfbde2c0a74e209acbf045f1298cc2f61e01.tar.bz2
linux-2bd0cfbde2c0a74e209acbf045f1298cc2f61e01.zip
[PATCH] fix x86_64-mm-spinlock-cleanup
We need processor.h for cpu_relax(). Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/spinlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/spinlock.h b/include/asm-x86_64/spinlock.h
index be7a9e629fb2..3daf5b005905 100644
--- a/include/asm-x86_64/spinlock.h
+++ b/include/asm-x86_64/spinlock.h
@@ -4,6 +4,7 @@
#include <asm/atomic.h>
#include <asm/rwlock.h>
#include <asm/page.h>
+#include <asm/processor.h>
/*
* Your basic SMP spinlocks, allowing only a single CPU anywhere