| From 75ca5b22260ef7b5ce39c6d521eee8b4cba44703 Mon Sep 17 00:00:00 2001 |
| From: Nicolas Iooss <nicolas.iooss_linux@m4x.org> |
| Date: Fri, 29 Jul 2016 13:39:51 +0200 |
| Subject: [PATCH] x86/entry: spell EBX register correctly in documentation |
| |
| commit 75ca5b22260ef7b5ce39c6d521eee8b4cba44703 upstream. |
| |
| 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@m4x.org> |
| Acked-by: Borislav Petkov <bp@suse.de> |
| Signed-off-by: Jiri Kosina <jkosina@suse.cz> |
| |
| diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S |
| index 9ee0da1807ed..c8804827d436 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 |
| */ |
| -- |
| 2.15.0 |
| |