Messages in this thread Patch in this message | | | From | Alexander van Heukelum <> | Subject | [PATCH] i386, entry_32: use zeroentry for iret_exc | Date | Thu, 21 May 2009 01:18:04 +0200 |
| |
iret_exc uses the error_code path. Use the zeroentry macro here too. This adds some dwarf2 annotations to the object file, but the executable code is unchanged.
impact: prepare for removing indirect calls in error_code
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 29dcd74..407443c 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -533,10 +533,7 @@ restore_nocheck_notrace: irq_return: INTERRUPT_RETURN .section .fixup,"ax" -ENTRY(iret_exc) - pushl $0 # no error code - pushl $do_iret_error - jmp error_code +zeroentry iret_exc do_iret_error .previous .section __ex_table,"a" .align 4 -- 1.6.0.4
| |