lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/cleanups] x86: spinlock.h: Remove REG_PTR_MODE
Commit-ID:  35372a7d45291140a97518a8d1c8cb0e31ee2bb7
Gitweb: http://git.kernel.org/tip/35372a7d45291140a97518a8d1c8cb0e31ee2bb7
Author: Richard Weinberger <richard@nod.at>
AuthorDate: Fri, 30 Mar 2012 01:38:03 +0200
Committer: H. Peter Anvin <hpa@zytor.com>
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@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 | 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) && \

\
 
 \ /
  Last update: 2012-03-30 19:43    [from the cache]
©2003-2011 Jasper Spaans