summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/lockd.h
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexghiti@rivosinc.com>2024-11-12 12:34:22 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2024-11-12 07:34:27 -0800
commit57f7c7dc78cd09622b12920d92b40c1ce11b234e (patch)
treee74a1b39ace3f1c1562e31c0fbad36e2442ea313 /include/linux/lockd/lockd.h
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff)
downloadlinux-57f7c7dc78cd09622b12920d92b40c1ce11b234e.tar.gz
linux-57f7c7dc78cd09622b12920d92b40c1ce11b234e.tar.bz2
linux-57f7c7dc78cd09622b12920d92b40c1ce11b234e.zip
drivers: perf: Fix wrong put_cpu() placement
Unfortunately, the wrong patch version was merged which places the put_cpu() after enabling a static key, which is not safe as pointed by Will [1], so move put_cpu() before to avoid this. Fixes: 2840dadf0dde ("drivers: perf: Fix smp_processor_id() use in preemptible code") Reported-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/all/20240827125335.GD4772@willie-the-truck/ [1] Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20241112113422.617954-1-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/linux/lockd/lockd.h')
0 files changed, 0 insertions, 0 deletions