summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@linux.intel.com>2019-06-27 12:55:25 +0800
committerIngo Molnar <mingo@kernel.org>2019-06-27 10:56:11 +0200
commit2238246ff8d533a5f2327d1f953375876d8a013c (patch)
treee3b64cc4f0c0979b156aeb489e24c1d98d51fddc /arch/x86/include
parent5a949b38839e284b1307540c56b03caf57da9736 (diff)
downloadlinux-2238246ff8d533a5f2327d1f953375876d8a013c.tar.gz
linux-2238246ff8d533a5f2327d1f953375876d8a013c.tar.bz2
linux-2238246ff8d533a5f2327d1f953375876d8a013c.zip
x86/boot: Make the GDT 8-byte aligned
The segment descriptors are loaded with an implicitly LOCK-ed instruction, which could trigger the split lock #AC exception if the variable is not properly aligned and crosses a cache line. Align the GDT properly so the descriptors are all 8 byte aligned. Signed-off-by: Xiaoyao Li <xiaoyao.li@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Link: https://lkml.kernel.org/r/20190627045525.105266-1-xiaoyao.li@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions