diff options
| author | Lin Yujun <linyujun809@huawei.com> | 2023-05-22 02:56:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:58:11 +0100 |
| commit | c12b8bc1e9c58e69dff970fa6ec4e795967b1bfb (patch) | |
| tree | b4d4f54580568b280644d486efd2553655c6d30b /scripts/git.orderFile | |
| parent | 5892138e300127862f1531b1bed6c616ceebcd3d (diff) | |
| download | linux-c12b8bc1e9c58e69dff970fa6ec4e795967b1bfb.tar.gz linux-c12b8bc1e9c58e69dff970fa6ec4e795967b1bfb.tar.bz2 linux-c12b8bc1e9c58e69dff970fa6ec4e795967b1bfb.zip | |
hexagon: Fix unbalanced spinlock in die()
[ Upstream commit 03410e87563a122075c3721acc7d5510e41d8332 ]
die executes holding the spinlock of &die.lock and unlock
it after printing the oops message.
However in the code if the notify_die() returns NOTIFY_STOP
, die() exit with returning 1 but never unlocked the spinlock.
Fix this by adding spin_unlock_irq(&die.lock) before returning.
Fixes: cf9750bae262 ("Hexagon: Provide basic debugging and system trap support.")
Signed-off-by: Lin Yujun <linyujun809@huawei.com>
Link: https://lore.kernel.org/r/20230522025608.2515558-1-linyujun809@huawei.com
Signed-off-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
