Re: [PATCH] x86: Don't use tsc_khz to calculate lpj if notsc ispassed.

From: Ingo Molnar
Date: Tue Nov 04 2008 - 03:55:39 EST



* Alok Kataria <akataria@xxxxxxxxxx> wrote:

> x86: Don't use tsc_khz to calculate lpj if notsc is passed.
>
> From: Alok N Kataria <akataria@xxxxxxxxxx>
>
> With notsc passed on commandline, tsc may not be used for
> udelays, make sure that we do not use tsc_khz to calculate
> the lpj value in such cases.
>
> Signed-off-by: Alok N Kataria <akataria@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxx

applied to tip/x86/urgent, thanks Alok!

btw., i fixed this error checkpatch noticed:

ERROR: trailing whitespace
#41: FILE: arch/x86/kernel/tsc.c:838:
+^I$

total: 1 errors, 0 warnings, 0 checks, 20 lines checked

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