diff options
| author | Hongbo Li <lihongbo22@huawei.com> | 2024-09-02 21:08:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-19 16:34:05 +0200 |
| commit | 47744d188004c8ddd3317129733170723bae816d (patch) | |
| tree | 0a9960fbecc42a909438d70bf34b02255f6e60af /include/net/aligned_data.h | |
| parent | e1d6661095b0743e0d8387c99df114e6b1d06f49 (diff) | |
irqchip/sifive-plic: Make use of __assign_bit()
[ Upstream commit 40d7af5375a4e27d8576d9d11954ac213d06f09e ]
Replace the open coded
if (foo)
__set_bit(n, bar);
else
__clear_bit(n, bar);
with __assign_bit(). No functional change intended.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/all/20240902130824.2878644-1-lihongbo22@huawei.com
Stable-dep-of: f75e07bf5226 ("irqchip/sifive-plic: Avoid interrupt ID 0 handling during suspend/resume")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
