Re: [PATCH] Fix CONFIG_CLOCKSOURCE_WATCHDOG=n compile

From: Thomas Gleixner
Date: Wed Apr 18 2012 - 07:44:18 EST


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?

Thanks,

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