x86/asm: Define the kernel TSS limit in a macro
authorAndy Lutomirski <luto@kernel.org>
Mon, 20 Feb 2017 16:56:09 +0000 (08:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Feb 2017 10:48:35 +0000 (11:48 +0100)
commit4f53ab14285802b298261f8b52af322039d1dfd0
tree885e931017318cebebb6306610bff889bf5fe96b
parent06ce521af9558814b8606c0476c54497cf83a653
x86/asm: Define the kernel TSS limit in a macro

Rather than open-coding the kernel TSS limit in set_tss_desc(), make
it a real macro near the TSS layout definition.

This is purely a cleanup.

Cc: Thomas Garnier <thgarnie@google.com>
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/desc.h
arch/x86/include/asm/processor.h