projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52b69f
)
x86: spinlock.h: Remove REG_PTR_MODE
author
Richard Weinberger
<richard@nod.at>
Thu, 29 Mar 2012 23:38:03 +0000
(
01:38
+0200)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 30 Mar 2012 17:01:59 +0000
(10:01 -0700)
REG_PTR_MODE has no users at all.
Signed-off-by: Richard Weinberger <richard@nod.at>
Link:
http://lkml.kernel.org/r/1333064283-3109-1-git-send-email-richard@nod.at
Acked-by: Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/spinlock.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/spinlock.h
b/arch/x86/include/asm/spinlock.h
index 76bfa2cf301df366e8b4b0ac2865ec009fc1eedd..b315a33867f25963808ebe9fc81ec9889a8deca7 100644
(file)
--- a/
arch/x86/include/asm/spinlock.h
+++ b/
arch/x86/include/asm/spinlock.h
@@
-20,10
+20,8
@@
#ifdef CONFIG_X86_32
# define LOCK_PTR_REG "a"
-# define REG_PTR_MODE "k"
#else
# define LOCK_PTR_REG "D"
-# define REG_PTR_MODE "q"
#endif
#if defined(CONFIG_X86_32) && \