aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorCharlie Jenkins <charlie@rivosinc.com>2024-07-19 09:15:21 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-07-22 15:36:57 -0700
commitd4c8d79f5199055da38f880f782a3e62c599ff5d (patch)
tree09bbbd160a31477f36617bb5cb370ad775b12272 /include/linux/fpga/fpga-mgr.h
parent0f2425411101128a38ad0166268975ca11fbcaeb (diff)
riscv: cpufeature: Extract common elements from extension checking
The __riscv_has_extension_likely() and __riscv_has_extension_unlikely() functions from the vendor_extensions.h can be used to simplify the standard extension checking code as well. Migrate those functions to cpufeature.h and reorganize the code in the file to use the functions. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Andy Chiu <andy.chiu@sifive.com> Link: https://lore.kernel.org/r/20240719-support_vendor_extensions-v3-4-0af7587bbec0@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions