Re: [PATCH] x86: little fix in 'include/asm-x86/topology.h'

From: Ingo Molnar
Date: Sat Jan 05 2008 - 10:10:13 EST



* Miguel Botón <mboton.lkml@xxxxxxxxx> wrote:

> Before 'topology_32.h' and 'topology_64.h' were unified, topology
> defines in a X86_64 kernel were declared if CONFIG_SMP was enabled.
> Now, post unification, these same defines in a X86_64 kernel are only
> being declared if CONFIG_NUMA and CONFIG_SMP are enabled.
>
> This, for example, breaks 'perfmon_amd64.c' compilation.
>
> This patch defines ENABLE_TOPO_DEFINE if this is a X86_64 kernel and
> we have SMP support enabled.

hm, do you have a .config that fails to build?

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/