x86/fpu: Use a feature number instead of mask in two more helpers
[linux-2.6-block.git] / arch / x86 / kernel / traps.c
index d26f9e9c3d8308fbb17a8d2c826f002367b74a85..8b6d03e55d2f79888c0aa9740c51bc486d8fa05f 100644 (file)
@@ -456,7 +456,7 @@ dotraplinkage void do_bounds(struct pt_regs *regs, long error_code)
         * which is all zeros which indicates MPX was not
         * responsible for the exception.
         */
-       bndcsr = get_xsave_field_ptr(XFEATURE_MASK_BNDCSR);
+       bndcsr = get_xsave_field_ptr(XFEATURE_BNDCSR);
        if (!bndcsr)
                goto exit_trap;