x86: move common_interrupt to entry.S
PATCH v4 2/10 x86: move common_interrupt to entry.S
This patch moves label common_interrupt from asm_defns.h to entry.S
Signed-off-by Feng Wu <[email protected]>
Reviewed-by Jan Beulich <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
--- xen/arch/x86/i8259.c | 2 -- xen/arch/x86/x86_64/entry.S | 6 +++++ xen/include/asm-x86/x86_64/asm_defns.h | 49 ++++++++++++++-------------------- 3 files changed, 26 insertions(+), 31 deletions(-)
xen/arch/x86/i8259.c +0 -2
@@ -35,8 +35,6 @@ __asm__(".section .text" ); -BUILD_COMMON_IRQ() -#define IRQ_NAME (nr) VEC##nr##_interrupt#define BI (nr) \
xen/arch/x86/x86_64/entry.S +6 -0
@@ -465,6 +465,12 @@ ENTRY(dom_crash_sync_extable) xorl %edi,%edi jmp asm_domain_crash_synchronous /* Does not return */ +ENTRY(common_interrupt) + SAVE_ALL + movq %rsp,%rdi + callq do_IRQ + jmp ret_from_intr + /* No special register assumptions. */ ENTRY(ret_from_intr) GET_CURRENT(%rbx)
xen/include/asm-x86/x86_64/asm_defns.h +20 -29
62 lines not on this page · raw message
Signature · 1 line
1.8.3.1