]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: use BIT() macros in t-head errata init
authorHeiko Stuebner <heiko@sntech.de>
Mon, 5 Sep 2022 11:10:25 +0000 (13:10 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 13 Oct 2022 15:46:28 +0000 (08:46 -0700)
commite2879a8d3fa222c8c67857c530db1acabab3e7d9
treed2df6fa87edc3f5dd720c579ba404ffb7d0a71f3
parent7c5853132316bb1513d4a425cf8c00509b9adf10
riscv: use BIT() macros in t-head errata init

Using the appropriate BIT macro makes the code better readable.

Suggested-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20220905111027.2463297-4-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/errata/thead/errata.c