riscv: convert the t-head pbmt errata to use the __nops macro
authorHeiko Stuebner <heiko@sntech.de>
Tue, 7 Jun 2022 14:30:59 +0000 (16:30 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 22 Jul 2022 00:18:24 +0000 (17:18 -0700)
commit9c2ea4a36364bfb5cf068c6fbea5c40292b119a5
tree45cd9cd128423629b6343c328b3168e22440e222
parentc295bc34ab58e917e2f2f789dd82b66fd2e2e299
riscv: convert the t-head pbmt errata to use the __nops macro

Instead of manually inserting the list of nops, use the recently
introduced __nops(n) macro to make everything more readable.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/errata_list.h