diff options
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | 2013-10-21 09:20:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:48:04 -0800 |
commit | 0df520d4597fedba4eeea99726919d2ecf0452e9 (patch) | |
tree | a85ec12df3b4c415febf0c9a890693b5bb022dc2 /lib/strncpy_from_user.c | |
parent | e34ce30f3226936bf8f43dc3d2616acd268a8cd2 (diff) |
intel_pstate: Correct calculation of min pstate value
commit 7244cb62d96e735847dc9d08f870550df896898c upstream.
The minimum pstate is supposed to be a percentage of the maximum P
state available. Calculate min using max pstate and not the
current max which may have been limited by the user
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions