mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: spinlock.h: Remove REG_PTR_MODE
@ 2012-03-29 23:38 Richard Weinberger
  2012-03-30 13:07 ` Jan Beulich
  2012-03-30 17:40 ` [tip:x86/cleanups] " tip-bot for Richard Weinberger
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Weinberger @ 2012-03-29 23:38 UTC (permalink / raw)
  To: x86
  Cc: tglx, mingo, hpa, jeremy, jbeulich, akpm, linux-kernel,
	Richard Weinberger

REG_PTR_MODE has no users at all.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 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) && \
-- 
1.7.7


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-30 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 23:38 [PATCH] x86: spinlock.h: Remove REG_PTR_MODE Richard Weinberger
2012-03-30 13:07 ` Jan Beulich
2012-03-30 17:40 ` [tip:x86/cleanups] " tip-bot for Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome