aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/mm/mpx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c
index 6233d5195f01..7a657f58bbea 100644
--- a/arch/x86/mm/mpx.c
+++ b/arch/x86/mm/mpx.c
@@ -367,12 +367,6 @@ static __user void *mpx_get_bounds_dir(void)
367 return MPX_INVALID_BOUNDS_DIR; 367 return MPX_INVALID_BOUNDS_DIR;
368 368
369 /* 369 /*
370 * 32-bit binaries on 64-bit kernels are currently
371 * unsupported.
372 */
373 if (IS_ENABLED(CONFIG_X86_64) && test_thread_flag(TIF_IA32))
374 return MPX_INVALID_BOUNDS_DIR;
375 /*
376 * The bounds directory pointer is stored in a register 370 * The bounds directory pointer is stored in a register
377 * only accessible if we first do an xsave. 371 * only accessible if we first do an xsave.
378 */ 372 */