提交 4b6011bc 编写于 作者: S Sven Wegener 提交者: Thomas Gleixner

x86: Remove obsolete LOCK macro from include/asm-x86/atomic_64.h

Commit d167a518 "[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: NSven Wegener <sven.wegener@stealer.net>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 48e23957
...@@ -11,12 +11,6 @@ ...@@ -11,12 +11,6 @@
* resource counting etc.. * 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 * 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, * on us. We need to use _exactly_ the address the user gave us,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册