diff options
author | Daniel Lezcano <[email protected]> | 2022-01-30 22:02:04 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-02-23 19:45:22 +0100 |
commit | 0aea2e4ec2a2bfa2d7e8820e37ba5b5ce04f20a5 (patch) | |
tree | 021916ca8ba98f9473a9b19f9e876d97a7d42e79 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 7b75bbdf5bedebed387aac6ad8411ed1cf3db5d0 (diff) |
powercap/dtpm_cpu: Reset per_cpu variable in the release function
The release function does not reset the per cpu variable when it is
called. That will prevent creation again as the variable will be
already from the previous creation.
Fix it by resetting them.
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions