diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 0f2263a8ad3189f4bf6f55b0a02eb1e1148f623a..6571aaabacb93e2772950a99c2e5fc039efe7f76 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -379,9 +379,9 @@ struct bndreg { u64 upper_bound; } __packed; -struct bndcsr_struct { - u64 cfg_reg_u; - u64 status_reg; +struct bndcsr { + u64 bndcfgu; + u64 bndstatus; } __packed; struct xsave_hdr_struct { @@ -396,7 +396,7 @@ struct xsave_struct { struct ymmh_struct ymmh; struct lwp_struct lwp; struct bndreg bndreg[4]; - struct bndcsr_struct bndcsr; + struct bndcsr bndcsr; /* new processor state extensions will go here */ } __attribute__ ((packed, aligned (64)));