Re: [PATCH 10/11] x86: Remove unnecessary ifdefs from i387 code.

From: Pekka Enberg
Date: Mon Aug 30 2010 - 07:25:22 EST


On 8/30/10 2:21 PM, Brian Gerst wrote:
FXSR is a required feature on 64-bit, therefore cpu_has_fxsr is always
true.
Yes, I realize that but it will still read boot_cpu_data at runtime, no?
Look at cpu_has(). It checks REQUIRED_MASK* if the feature bit is a
constant, and returns true without testing the actual bit in
boot_cpu_data for required features.
Right you are, thanks for the explanation!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/