Re: [PATCH 1/1] x86/entry: spell EBX register correctly in documentation

From: Borislav Petkov
Date: Mon Aug 01 2016 - 00:48:16 EST


On Fri, Jul 29, 2016 at 01:39:51PM +0200, Nicolas Iooss wrote:
> As EBS does not mean anything reasonable in the context it is used, it
> seems like a misspelling for EBX.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
> ---
> arch/x86/entry/entry_64.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
> index b846875aeea6..6f3076302017 100644
> --- a/arch/x86/entry/entry_64.S
> +++ b/arch/x86/entry/entry_64.S
> @@ -1058,7 +1058,7 @@ END(error_entry)
>
>
> /*
> - * On entry, EBS is a "return to kernel mode" flag:
> + * On entry, EBX is a "return to kernel mode" flag:
> * 1: already in kernel mode, don't need SWAPGS
> * 0: user gsbase is loaded, we need SWAPGS and standard preparation for return to usermode
> */
> --

Acked-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--