diff options
| author | Rafael J. Wysocki <[email protected]> | 2017-02-13 12:44:57 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-02-15 23:57:42 +0000 |
| commit | f451014692ae34e587b00de6745e16661cf734d8 (patch) | |
| tree | 6f3e747e1a4c2de894d5bf7aa6e10a0a28170fed /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms (diff) | |
| download | kernel-f451014692ae34e587b00de6745e16661cf734d8.tar.gz kernel-f451014692ae34e587b00de6745e16661cf734d8.zip | |
cpufreq: Do not clear real_cpus mask on policy init
If new_policy is set in cpufreq_online(), the policy object has just
been created and its real_cpus mask has been zeroed on allocation,
and the driver's ->init() callback should not touch it.
It doesn't need to be cleared again, so don't do that.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
