From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Date: Wed, 12 Nov 2014 17:04:44 +0000 Subject: [PATCH 01/11] x86, mpx: rename cfg_reg_u and status_reg Message-Id: <20141112170444.C21FBF7E@viggo.jf.intel.com> List-Id: References: <20141112170443.B4BD0899@viggo.jf.intel.com> In-Reply-To: <20141112170443.B4BD0899@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: hpa@zytor.com Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, qiaowei.ren@intel.com, Dave Hansen , dave.hansen@linux.intel.com From: Dave Hansen 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. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/arch/x86/include/asm/processor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN arch/x86/include/asm/processor.h~2014-10-14-02_12-x86-mpx-rename-cfg-reg-u-and-status-reg arch/x86/include/asm/processor.h --- a/arch/x86/include/asm/processor.h~2014-10-14-02_12-x86-mpx-rename-cfg-reg-u-and-status-reg 2014-11-12 08:49:23.517782202 -0800 +++ b/arch/x86/include/asm/processor.h 2014-11-12 08:49:23.521782383 -0800 @@ -380,8 +380,8 @@ struct bndreg { } __packed; struct bndcsr { - u64 cfg_reg_u; - u64 status_reg; + u64 bndcfgu; + u64 bndstatus; } __packed; struct xsave_hdr_struct { _