diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2023-08-07 16:45:47 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-10-03 10:28:29 +0200 |
commit | 001470fed5959d01faecbd57fcf2f60294da0de1 (patch) | |
tree | b0f7d215dbeb435d75ad5c1e529dfeeee8f6424e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b3bee1e7c3f2b1b77182302c7b2131c804175870 (diff) |
x86/boot: Fix incorrect startup_gdt_descr.size
Since the size value is added to the base address to yield the last valid
byte address of the GDT, the current size value of startup_gdt_descr is
incorrect (too large by one), fix it.
[ mingo: This probably never mattered, because startup_gdt[] is only used
in a very controlled fashion - but make it consistent nevertheless. ]
Fixes: 866b556efa12 ("x86/head/64: Install startup GDT")
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20230807084547.217390-1-ytcoode@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions