Skip to content

Commit

Permalink
x86: Remove obsolete LOCK macro from include/asm-x86/atomic_64.h
Browse files Browse the repository at this point in the history
Commit d167a51 "[PATCH] x86_64: x86_64 version of the smp alternative patch."
has left the LOCK macro in include/asm-x86_64/atomic.h, which is now
include/asm-x86/atomic_64.h. Its scope should be local to the file, other
architectures don't provide it, I couldn't find an in-tree user of it and
allyesconfig, allmodconfig and allnoconfig build fine without it, so this patch
removes it.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Sven Wegener authored and Thomas Gleixner committed May 25, 2008
1 parent 48e2395 commit 4b6011b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/asm-x86/atomic_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
* resource counting etc..
*/

#ifdef CONFIG_SMP
#define LOCK "lock ; "
#else
#define LOCK ""
#endif

/*
* Make sure gcc doesn't try to be clever and move things around
* on us. We need to use _exactly_ the address the user gave us,
Expand Down

0 comments on commit 4b6011b

Please sign in to comment.