diff options
author | Thomas Gleixner <[email protected]> | 2010-12-13 11:28:02 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2010-12-13 11:35:05 +0100 |
commit | a8760eca6cf60ed303ad494ef45901f63165d2c8 (patch) | |
tree | dcf5a97a3175c7fa109aedf22185e5436bb621e5 /net/lapb/lapb_iface.c | |
parent | 08ec0c58fb8a05d3191d5cb6f5d6f81adb419798 (diff) |
x86: Check tsc available/disabled in the delayed init function
The delayed TSC init function does not check whether the system has no
TSC or TSC is disabled at the kernel command line, which results in a
crash in the work queue based extended calibration due to division by
zero because the basic calibration never happened.
Add the missing checks and do not touch TSC when not available or
disabled.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: John Stultz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions