diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-02-20 08:56:13 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-21 11:49:02 +0100 |
commit | d3273deac9c0cdae32eb46f928487433eaa37f87 (patch) | |
tree | 04ca7007d10c0e3dedce08a64ef00990fbc299c4 /kernel/sys.c | |
parent | 8c2e41f7ae1234c192ef497472ad306227c77c03 (diff) | |
download | op-kernel-dev-d3273deac9c0cdae32eb46f928487433eaa37f87.zip op-kernel-dev-d3273deac9c0cdae32eb46f928487433eaa37f87.tar.gz |
x86/asm/64: Drop __cacheline_aligned from struct x86_hw_tss
Historically, the entire TSS + io bitmap structure was cacheline
aligned, but commit ca241c75037b ("x86: unify tss_struct") changed it
(presumably inadvertently) so that the fixed-layout hardware part is
cacheline-aligned and the io bitmap is after the padding. This wastes
24 bytes (the hardware part should be 104 bytes, but this pads it to
128 bytes) and, serves no purpose, and causes sizeof(struct
x86_hw_tss) to have a confusing value.
Drop the pointless alignment.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions