Files
linux/arch/x86/kernel
Yuntao Wang 001470fed5 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: 866b556efa ("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
2023-10-03 10:28:29 +02:00
..
2023-08-17 17:07:09 +02:00
2022-09-26 10:13:16 -07:00
2022-04-19 17:14:09 -07:00
2023-08-09 11:58:34 -07:00
2023-06-19 16:19:10 -07:00
2023-08-02 15:01:51 -07:00
2022-12-10 10:33:11 -06:00
2023-01-06 04:22:34 +01:00
2023-07-11 14:12:19 -07:00
2022-09-26 19:46:16 -07:00
2022-04-14 14:09:43 +02:00