Re: [PATCH 10/14] FRV: Make calibrate_delay() optional
From: john stultz
Date: Mon Nov 01 2004 - 19:42:57 EST
On Mon, 2004-11-01 at 11:30, dhowells@xxxxxxxxxx wrote:
> The attached patch makes calibrate_delay() optional. In this architecture, it's
> a waste of time since we can predict exactly what it's going to come up with
> just by looking at the CPU's hardware clock registers. Thus far, we haven't
> seem a board with any clock not dependent on the CPU's clock.
Just doing a quick skim, the patch looks good. Making a whole new file
for just one function is a bit heavy handed, but I don't feel that code
needed to be in main.c
My only nit would be to save the tabs and switch the code from:
if (preset_lpj) {
newstuff
} else {
oldstuff
}
to
if (preset_lpj) {
newstuff
return
}
oldstuff
thanks
-john
-
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/