rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
stable inclusion from stable-v5.10.159 commit 17293d630f5f88355b43712888208945581cdc87 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7NTXH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=17293d630f5f88355b43712888208945581cdc87 -------------------------------- [ Upstream commit 6950d046 ] It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by:Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by:
Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/1612355981-6764-2-git-send-email-tanxiaofei@huawei.com Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment