lkml.org 
[lkml]   [2009]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] i386, entry_32: use zeroentry for iret_exc
Date
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


\
 
 \ /
  Last update: 2009-05-21 01:23    [W:0.934 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site