Re: [PATCH] Fix CONFIG_CLOCKSOURCE_WATCHDOG=n compile

From: Prarit Bhargava
Date: Wed Apr 18 2012 - 08:13:27 EST




On 04/18/2012 07:44 AM, Thomas Gleixner wrote:
> On Wed, 11 Apr 2012, Prarit Bhargava wrote:
>
>> Noticed this while debugging -- compile fails with
>>
>> arch/x86/built-in.o: In function `mark_tsc_unstable':
>> /home/linux-2.6/arch/x86/kernel/tsc.c:791: undefined reference to
>> `clocksource_mark_unstable'
>> make: *** [.tmp_vmlinux1] Error 1
>>
>> Add in an empty function for the !CONFIG_CLOCKSOURCE_WATCHDOG case.
>
> CONFIG_CLOCKSOURCE_WATCHDOG for x86 is always 'y', so what's the point?

Ah, I was playing around with the .config directly while debugging and I didn't
notice that. Sorry for the noise ...

P.
--
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/