Skip to content

Commit

Permalink
x86, mpx: Rename cfg_reg_u and status_reg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Hansen authored and Thomas Gleixner committed Nov 17, 2014
1 parent c04e051 commit 62e7759
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/x86/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)));

Expand Down

0 comments on commit 62e7759

Please sign in to comment.