diff options
author | Brian Gerst <brgerst@gmail.com> | 2023-03-16 23:21:05 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-03-21 13:35:53 +0100 |
commit | 8f6be6d870e8a078fcc956fc2ff8d7cff67795ee (patch) | |
tree | da909e2da004596011c3d04b03343e889fca6479 /samples | |
parent | x86/smpboot: Remove early_gdt_descr on 64-bit (diff) | |
download | linux-8f6be6d870e8a078fcc956fc2ff8d7cff67795ee.tar.xz linux-8f6be6d870e8a078fcc956fc2ff8d7cff67795ee.zip |
x86/smpboot: Remove initial_gs
Given its CPU#, each CPU can find its own per-cpu offset, and directly set
GSBASE accordingly. The global variable can be eliminated.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Usama Arif <usama.arif@bytedance.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Usama Arif <usama.arif@bytedance.com>
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/20230316222109.1940300-9-usama.arif@bytedance.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions