[tip:x86/cleanups] x86: spinlock.h: Remove REG_PTR_MODE
From: tip-bot for Richard Weinberger
Date: Fri Mar 30 2012 - 13:40:59 EST
Commit-ID: 35372a7d45291140a97518a8d1c8cb0e31ee2bb7
Gitweb: http://git.kernel.org/tip/35372a7d45291140a97518a8d1c8cb0e31ee2bb7
Author: Richard Weinberger <richard@xxxxxx>
AuthorDate: Fri, 30 Mar 2012 01:38:03 +0200
Committer: H. Peter Anvin <hpa@xxxxxxxxx>
CommitDate: Fri, 30 Mar 2012 10:01:59 -0700
x86: spinlock.h: Remove REG_PTR_MODE
REG_PTR_MODE has no users at all.
Signed-off-by: Richard Weinberger <richard@xxxxxx>
Link: http://lkml.kernel.org/r/1333064283-3109-1-git-send-email-richard@xxxxxx
Acked-by: Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
---
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 76bfa2c..b315a33 100644
--- 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) && \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/