Re: [PATCH 1/4] x86_64/i386 thermal mce: Refactor thermal throttle reporting.
From: Dmitriy Zavin
Date: Wed Sep 20 2006 - 16:55:47 EST
Ok, will move the mce_log part into mce.c in x86_64 and go back to
returning 0/1 from therm_throt_process. Then only the x86_64 thermal
mce will mcelog, and no #ifdefs :)
On 9/20/06, Andi Kleen <ak@xxxxxxx> wrote:
> +
> +#include <linux/percpu.h>
> +#include <linux/cpu.h>
> +#include <asm/cpu.h>
> +#include <linux/notifier.h>
> +#include <asm/therm_throt.h>
> +
> +#ifdef CONFIG_X86_64
Sorry, no such ifdefs allowed. That is what I meant with making the merged code
worse than split code.
-Andi
-
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/