Re: [Patch] tsc-disable_A5

john stultz (johnstul@us.ibm.com)
14 Jun 2002 16:44:30 -0700


On Fri, 2002-06-14 at 16:29, Kai Germaschewski wrote:
> I suppose you could it rewrite like
>
> ...
> CONFIG_X86_WANT_TSC=y (or whatever)
> ...
>
> if [ some_condition ]; then
> define_bool CONFIG_X86_TSC n
> else
> define_bool CONFIG_X86_TSC $CONFIG_X86_WANT_TSC
> fi
>
> Not exactly elegant, but it should work ;)

Yep, my first release was done in a similar fashion, but Alan suggested
the patch take on its current form. There may be cases where we want to
know if we have a TSC even if we don't want to use them.

Thread link:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0205.3/1188.html

Thanks for the suggestion,
-john

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/