diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-02-18 16:47:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-02-20 13:38:47 +0100 |
commit | 2b15cd96e5e93f9aa4f7041c91c1e7c344a62cbb (patch) | |
tree | 018696d42a2c76dddede55d9795c0990335a1368 | |
parent | da1016df85ed67b6f7dbb765532c54bc35ba08d7 (diff) |
x86, system.h: Drop unused __SAVE/__RESTORE macros
Those are unused since at least the beginning of git history.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <1298044056-31104-1-git-send-email-bp@amd64.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/include/asm/system.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/system.h b/arch/x86/include/asm/system.h index 33ecc3ea878..12569e691ce 100644 --- a/arch/x86/include/asm/system.h +++ b/arch/x86/include/asm/system.h @@ -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" |