x86: introduce save_rest and restructure the PTREGSCALL macro in entry_64.S
authorAlexander van Heukelum <heukelum@mailshack.com>
Fri, 21 Nov 2008 15:41:55 +0000 (16:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 Nov 2008 18:02:54 +0000 (19:02 +0100)
Impact: cleanup

The save_rest function completes a partial stack frame for use
by the PTREGSCALL macro. This also avoids the indirect call in
PTREGSCALLs.

This adds the macro movq_cfi_restore to hide the CFI_RESTORE
annotation when restoring a register from the stack frame.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found