aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-11-14 10:18:17 -0500
committerThomas Gleixner <tglx@linutronix.de>2014-11-17 18:58:53 -0500
commit62e7759b1bdaf9b753c3724a56fcbe3235ebd5f3 (patch)
treeb3c5ac07295d8b50162ce4d15b02b9ac5f8e41a5
parentc04e051cccd2446d9ca373628d14b7e732462f5d (diff)
x86, mpx: Rename cfg_reg_u and status_reg
According to Intel SDM extension, MPX configuration and status registers should be BNDCFGU and BNDSTATUS. This patch renames cfg_reg_u and status_reg to bndcfgu and bndstatus. [ tglx: Renamed 'struct bndscr_struct' to 'struct bndscr' ] Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Cc: linux-mm@kvack.org Cc: linux-mips@linux-mips.org Cc: Dave Hansen <dave@sr71.net> Cc: Qiaowei Ren <qiaowei.ren@intel.com> Link: http://lkml.kernel.org/r/20141114151817.031762AC@viggo.jf.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/include/asm/processor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 0f2263a8ad31..6571aaabacb9 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -379,9 +379,9 @@ struct bndreg {
379 u64 upper_bound; 379 u64 upper_bound;
380} __packed; 380} __packed;
381 381
382struct bndcsr_struct { 382struct bndcsr {
383 u64 cfg_reg_u; 383 u64 bndcfgu;
384 u64 status_reg; 384 u64 bndstatus;
385} __packed; 385} __packed;
386 386
387struct xsave_hdr_struct { 387struct xsave_hdr_struct {
@@ -396,7 +396,7 @@ struct xsave_struct {
396 struct ymmh_struct ymmh; 396 struct ymmh_struct ymmh;
397 struct lwp_struct lwp; 397 struct lwp_struct lwp;
398 struct bndreg bndreg[4]; 398 struct bndreg bndreg[4];
399 struct bndcsr_struct bndcsr; 399 struct bndcsr bndcsr;
400 /* new processor state extensions will go here */ 400 /* new processor state extensions will go here */
401} __attribute__ ((packed, aligned (64))); 401} __attribute__ ((packed, aligned (64)));
402 402