diff options
author | Qiaowei Ren | 2015-06-07 20:37:02 +0200 |
---|---|---|
committer | Ingo Molnar | 2015-06-09 12:24:30 +0200 |
commit | 3c1d32300920a446c67d697cd6b80f012ad06028 (patch) | |
tree | 20211a8f7200b884410a28b9d91c071e497d8b5a | |
parent | x86/mpx: Clean up the code by not passing a task pointer around when unnecessary (diff) | |
download | kernel-qcow2-linux-3c1d32300920a446c67d697cd6b80f012ad06028.tar.gz kernel-qcow2-linux-3c1d32300920a446c67d697cd6b80f012ad06028.tar.xz kernel-qcow2-linux-3c1d32300920a446c67d697cd6b80f012ad06028.zip |
x86/mpx: Remove redundant MPX_BNDCFG_ADDR_MASK
MPX_BNDCFG_ADDR_MASK is defined two times, so this patch removes
redundant one.
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave@sr71.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150607183702.5F129376@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/include/asm/mpx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mpx.h b/arch/x86/include/asm/mpx.h index 0cdd16af71ad..871e5e5b0499 100644 --- a/arch/x86/include/asm/mpx.h +++ b/arch/x86/include/asm/mpx.h @@ -45,7 +45,6 @@ #define MPX_BNDSTA_TAIL 2 #define MPX_BNDCFG_TAIL 12 #define MPX_BNDSTA_ADDR_MASK (~((1UL<<MPX_BNDSTA_TAIL)-1)) -#define MPX_BNDCFG_ADDR_MASK (~((1UL<<MPX_BNDCFG_TAIL)-1)) #define MPX_BT_ADDR_MASK (~((1UL<<MPX_BD_ENTRY_TAIL)-1)) #define MPX_BNDCFG_ADDR_MASK (~((1UL<<MPX_BNDCFG_TAIL)-1)) |