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)
commitb684001a5eb79d9bf36f655547bc226dedc8bc03
tree3b6967faee1a66a2b027a852cb164e81a7c2cde9
parent924cbb8cbe3460ea192e6243017ceb0ceb255b1b
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