diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-11 23:05:41 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-14 21:57:55 +1000 |
commit | b3376dcc6c62452fe24e76d8fc35bb13eb7ee178 (patch) | |
tree | 7cea5b3269ec158803fd6901c6ca95f0359d5159 /drivers/macintosh | |
parent | ab2675d6acec03aec4a866f7d293fdbcd77d2be1 (diff) |
powerpc/perf: Fix double unlock in imc_common_cpuhp_mem_free()
This function is not called with the nest_init_lock held, and it also
unlocks the nest_init_lock immediately below, so it's fairly clear
that this is a typo and should be locking the lock.
Fixes: 885dcd709ba9 ("powerpc/perf: Add nest IMC PMU support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions