Skip to content

Commit

Permalink
[PATCH] fix x86_64-mm-spinlock-cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Sep 27, 2006
1 parent 133d205 commit 2bd0cfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-x86_64/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bd0cfb

Please sign in to comment.