diff options
author | Dirk Brandewie <[email protected]> | 2013-04-04 10:35:35 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-04-08 22:09:23 +0200 |
commit | ec376a2ab97ec3be52ca282dc6ac102e805d1005 (patch) | |
tree | e1460a4faa9b35cc82bb9b397deffab8319a2af7 /lib/cpu-notifier-error-inject.c | |
parent | 31880c37c11e28cb81c70757e38392b42e695dc6 (diff) |
cpufreq / intel_pstate: Set timer timeout correctly
The current calculation of the delay time is wrong and a cut and
paste error from a previous experimental driver. This can result in
the timeout being set to jiffies + 1 which setup the driver to race
with itself if the APIC timer interrupt happens at just the right
time.
References: https://bugzilla.redhat.com/show_bug.cgi?id=920289
Reported-by: Adam Williamson <[email protected]>
Reported-and-tested-by: Parag Warudkar <[email protected]>
Signed-off-by: Dirk Brandewie <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions