Browse Source

[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>
Andrew Morton 18 years ago
parent
commit
2bd0cfbde2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/asm-x86_64/spinlock.h

+ 1 - 0
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