Re: [PATCH] x86: fdiv bug detection fix

From: Ingo Molnar
Date: Thu Jul 31 2008 - 17:57:31 EST



* Krzysztof Helt <krzysztof.h1@xxxxx> wrote:

> From: Krzysztof Helt <krzysztof.h1@xxxxx>
>
> The fdiv detection code writes s32 integer into
> the boot_cpu_data.fdiv_bug.
> However, the boot_cpu_data.fdiv_bug is only char (s8)
> field so the detection overwrites already set fields for
> other bugs, e.g. the f00f bug field.
>
> Use local s32 variable to receive result.

applied to tip/x86/urgent, thanks Krzysztof!

this bug seems to be rather old - i guess new kernels rarely get tested
with those CPUs that are affected by those bugs?

Ingo
--
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/