Skip to contentSkip to conversation

x86, system.h: Drop unused __SAVE/__RESTORE macros

PATCH In review Borislav Petkov 2 participants 2 messages Feb 18, 2011 – Feb 20, 2011 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, system.h: Drop unused __SAVE/__RESTORE macros

From: Borislav Petkov <[email protected]>

Those are unused since at least the beginning of git history.

---
 arch/x86/include/asm/system.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/include/asm/system.h +0 -2
index 33ecc3e..12569e6 100644
@@ -98,8 +98,6 @@ do {									\
  */
 #define HAVE_DISABLE_HLT
 #else
-#define __SAVE(reg, offset) "movq %%" #reg ",(14-" #offset ")*8(%%rsp)\n\t"
-#define __RESTORE(reg, offset) "movq (14-" #offset ")*8(%%rsp),%%" #reg "\n\t"
 
 /* frame pointer must be last for get_wchan */
 #define SAVE_CONTEXT    "pushf ; pushq %%rbp ; movq %%rsi,%%rbp\n\t"
Signature · 1 line
1.7.4.rc2
#1 lore raw
Commit-ID:  2b15cd96e5e93f9aa4f7041c91c1e7c344a62cbb
Gitweb:     http://git.kernel.org/tip/2b15cd96e5e93f9aa4f7041c91c1e7c344a62cbb
Author:     Borislav Petkov <[email protected]>
AuthorDate: Fri, 18 Feb 2011 16:47:36 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 20 Feb 2011 13:38:47 +0100

x86, system.h: Drop unused __SAVE/__RESTORE macros

Those are unused since at least the beginning of git history.

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/system.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/include/asm/system.h +0 -2
index 33ecc3e..12569e6 100644
@@ -98,8 +98,6 @@ do {									\
  */
 #define HAVE_DISABLE_HLT
 #else
-#define __SAVE(reg, offset) "movq %%" #reg ",(14-" #offset ")*8(%%rsp)\n\t"
-#define __RESTORE(reg, offset) "movq (14-" #offset ")*8(%%rsp),%%" #reg "\n\t"
 
 /* frame pointer must be last for get_wchan */
 #define SAVE_CONTEXT    "pushf ; pushq %%rbp ; movq %%rsi,%%rbp\n\t"