The low four bits of the fourth argument are unused, make them zero in all the callers. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- lib/x86/desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/x86/desc.c b/lib/x86/desc.c index e7378c1..b691c9b 100644 --- a/lib/x86/desc.c +++ b/lib/x86/desc.c @@ -336,7 +336,7 @@ void setup_tss32(void) tss_intr.ds = tss_intr.es = tss_intr.fs = tss_intr.ss = 0x10; tss_intr.gs = read_gs(); tss_intr.iomap_base = (u16)desc_size; - set_gdt_entry(TSS_INTR, (u32)&tss_intr, desc_size - 1, 0x89, 0x0f); + set_gdt_entry(TSS_INTR, (u32)&tss_intr, desc_size - 1, 0x89, 0); } void set_intr_task_gate(int e, void *fn) -- 2.27.0