]> 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)
commit4a2efedf852b91b8c18caf34c42abbcc1c3506ad
tree3b6967faee1a66a2b027a852cb164e81a7c2cde9
parent13aee9266aff0c700714f7b8a04fc72934afa84e
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