Re: linux-next: Tree for Feb 1 (mce_amd.c)

From: Randy Dunlap
Date: Thu Feb 02 2012 - 11:55:22 EST


On 02/02/2012 06:26 AM, Borislav Petkov wrote:
> On Wed, Feb 01, 2012 at 10:54:36AM -0800, Randy Dunlap wrote:
>> On 01/31/2012 10:16 PM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20120131:
>>
>>
>> mce_amd.c:(.cpuinit.text+0x4723): undefined reference to `cpu_llc_shared_map'
>
> Yeah, -rc2 has that problem too with your randconfig. The issue is with
> CONFIG_SMP not being set.
>
> The following chunk should cure it:


Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Thanks.

> --
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 5bed94e..63fcb8a 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -897,7 +897,7 @@ config X86_MCE_INTEL
> config X86_MCE_AMD
> def_bool y
> prompt "AMD MCE features"
> - depends on X86_MCE && X86_LOCAL_APIC
> + depends on X86_MCE && X86_LOCAL_APIC && SMP
> ---help---
> Additional support for AMD specific MCE features such as
> the DRAM Error Threshold.
> --
>
> Thanks.
>


--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/