mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
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>
This commit is contained in:
parent
da1016df85
commit
2b15cd96e5
1 changed files with 0 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue