diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-02-02 12:13:52 -0500 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-02-22 23:37:37 +0100 |
commit | b75e2b076d00751579c73cfbbc8a7eac7d2a0468 (patch) | |
tree | eb82a894524be3c2618b6e169e96ac4157fd1c28 /init | |
parent | ef5a7b5eb13ed88ba9690ab27def3a085332cc8c (diff) |
x86/boot: GDT limit value should be size - 1
The limit value for the GDTR should be such that adding it to the base
address gives the address of the last byte of the GDT, i.e. it should be
one less than the size, not the size.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200202171353.3736319-7-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions