aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/spinlock.h
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/asm-x86_64/spinlock.h
parent[PATCH] Make kmem_cache_destroy() return void (diff)
downloadlinux-dev-2bd0cfbde2c0a74e209acbf045f1298cc2f61e01.tar.xz
linux-dev-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/asm-x86_64/spinlock.h')
-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