On 06/20/2014 09:20 AM, H. Peter Anvin wrote:
>> > +#ifdef CONFIG_X86_INTEL_MPX
>> > +# define HAVE_MPX (1<<(X86_FEATURE_MPX & 31))
>> > +#else
>> > +# define HAVE_MPX 0
>> > +#endif
>> > +
> Is this an inverted test?

Yes, that was inverted.  I've renamed it to make it a bit easier to read:

#ifdef CONFIG_X86_INTEL_MPX
# define DISABLE_MPX    0
#else
# define DISABLE_MPX    (1<<(X86_FEATURE_MPX & 31))
#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to