| Subject | Re: [patch V4 part 3 12/29] x86/entry/common: Provide idtentry_enter/exit() | From | Alexandre Chartre <> | Date | Thu, 7 May 2020 18:27:48 +0200 |
| |
On 5/5/20 3:44 PM, Thomas Gleixner wrote: > Provide functions which handle the low level entry and exit similiar to > enter/exit from user mode.
typo: "similiar"
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > --- > arch/x86/entry/common.c | 89 ++++++++++++++++++++++++++++++++++++++++ > arch/x86/include/asm/idtentry.h | 3 + > 2 files changed, 92 insertions(+) > > --- a/arch/x86/entry/common.c > +++ b/arch/x86/entry/common.c ... > +/** > + * idtentry_exit - Common code to handle return from exceptions > + * @regs: Pointer to pt_regs (exception entry regs) > + * > + * Depending on the return target (kernel/user) this runs the necessary > + * preemption and work checks if possible and reguired and returns to
typo: "reguired"
alex.
|