diff options
author | Richard Weinberger <richard@nod.at> | 2012-03-29 19:38:03 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-03-30 13:01:59 -0400 |
commit | 35372a7d45291140a97518a8d1c8cb0e31ee2bb7 (patch) | |
tree | 565525abd97d44518cf62b38debd7fa786544d80 | |
parent | f52b69f86e27903d6896ed5fa7cd280fec8de532 (diff) |
x86: spinlock.h: Remove REG_PTR_MODE
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>
-rw-r--r-- | arch/x86/include/asm/spinlock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h index 76bfa2cf301d..b315a33867f2 100644 --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h | |||
@@ -20,10 +20,8 @@ | |||
20 | 20 | ||
21 | #ifdef CONFIG_X86_32 | 21 | #ifdef CONFIG_X86_32 |
22 | # define LOCK_PTR_REG "a" | 22 | # define LOCK_PTR_REG "a" |
23 | # define REG_PTR_MODE "k" | ||
24 | #else | 23 | #else |
25 | # define LOCK_PTR_REG "D" | 24 | # define LOCK_PTR_REG "D" |
26 | # define REG_PTR_MODE "q" | ||
27 | #endif | 25 | #endif |
28 | 26 | ||
29 | #if defined(CONFIG_X86_32) && \ | 27 | #if defined(CONFIG_X86_32) && \ |