]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: make patch-function pointer more generic in cpu_manufacturer_info struct
authorHeiko Stuebner <heiko@sntech.de>
Thu, 26 May 2022 20:56:44 +0000 (22:56 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 16 Jun 2022 22:47:40 +0000 (15:47 -0700)
commit57c31f838f024878431e38115d85973939cce6fc
tree3b6967faee1a66a2b027a852cb164e81a7c2cde9
parent22826e80db5f1a90af9202770f578a665800eec6
riscv: make patch-function pointer more generic in cpu_manufacturer_info struct

During review the naming of the function-pointer was called
confusing as the vendor id is just one of three inputs for
the patching and indeed it serves no real purpose, as with
recent changes the function pointer is not a static
global element anymore, so drop the "vendor_" prefix.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220526205646.258337-4-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/alternative.c