summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-23 00:00:08 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-24 15:05:01 +0200
commita27a0a55495cdde4b8d98f82460dc46eb44777fd (patch)
tree2456c8bb3bd8e6c3734446ecc63642b0b1d429ad /arch/x86/entry
parentbdcd178ada90d2413bcc9df4211dcdd511a47586 (diff)
downloadlinux-a27a0a55495cdde4b8d98f82460dc46eb44777fd.tar.gz
linux-a27a0a55495cdde4b8d98f82460dc46eb44777fd.tar.bz2
linux-a27a0a55495cdde4b8d98f82460dc46eb44777fd.zip
x86/entry: Cleanup idtentry_enter/exit
Remove the temporary defines and fixup all references. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20200722220520.855839271@linutronix.de
Diffstat (limited to 'arch/x86/entry')
-rw-r--r--arch/x86/entry/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 297e08ea9f87..3de0303703ae 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -248,9 +248,9 @@ __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
{
struct pt_regs *old_regs;
bool inhcall;
- idtentry_state_t state;
+ irqentry_state_t state;
- state = idtentry_enter(regs);
+ state = irqentry_enter(regs);
old_regs = set_irq_regs(regs);
instrumentation_begin();
@@ -266,7 +266,7 @@ __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
instrumentation_end();
restore_inhcall(inhcall);
} else {
- idtentry_exit(regs, state);
+ irqentry_exit(regs, state);
}
}
#endif /* CONFIG_XEN_PV */