Skip to content
Commit 70de9a97 authored by Alok Kataria's avatar Alok Kataria Committed by Ingo Molnar
Browse files

x86: don't use tsc_khz to calculate lpj if notsc is passed



Impact: fix udelay when "notsc" boot parameter is passed

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.

Reported-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 73557af5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment