]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: use BIT() marco for cpufeature probing
authorHeiko Stuebner <heiko@sntech.de>
Mon, 5 Sep 2022 11:10:26 +0000 (13:10 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 13 Oct 2022 15:46:29 +0000 (08:46 -0700)
commit1abc2a64ea4dd46020112540b09bac2aad34ae3d
tree50270443e90b2f19d6361d7a4935c0868ffab557
parente2879a8d3fa222c8c67857c530db1acabab3e7d9
riscv: use BIT() marco for cpufeature probing

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: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220905111027.2463297-5-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c