summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/tls.c
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2023-01-12 10:20:30 +0300
committerIngo Molnar <mingo@kernel.org>2023-01-12 15:06:36 +0300
commitdf729fb05ae2db52f7de150439392a88ee9d9b4f (patch)
treee7ae35a5881c8d7d2bbd31e8a23b5252b1fc3c24 /arch/x86/kernel/tls.c
parent5a91f12660fe7249e37b11372bf599e02b6a319c (diff)
downloadlinux-df729fb05ae2db52f7de150439392a88ee9d9b4f.tar.xz
x86/gsseg: Make asm_load_gs_index() take an u16
Let GCC know that only the low 16 bits of load_gs_index() argument actually matter. It might allow it to create slightly better code. However, do not propagate this into the prototypes of functions that end up being paravirtualized, to avoid unnecessary changes. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Xin Li <xin3.li@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230112072032.35626-4-xin3.li@intel.com
Diffstat (limited to 'arch/x86/kernel/tls.c')
0 files changed, 0 insertions, 0 deletions