aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorKlara Modin <[email protected]>2025-06-17 12:58:47 +0000
committerPalmer Dabbelt <[email protected]>2025-06-23 23:30:05 +0000
commitc5136add3f9b4c23b8bbe5f4d722c95d4cfb936e (patch)
treee030fc1dc78649134770c11a971cde64bf87fba6 /lib/crypto/mpi/mpi-cmp.c
parentRevert "riscv: Define TASK_SIZE_MAX for __access_ok()" (diff)
downloadkernel-c5136add3f9b4c23b8bbe5f4d722c95d4cfb936e.tar.gz
kernel-c5136add3f9b4c23b8bbe5f4d722c95d4cfb936e.zip
riscv: export boot_cpu_hartid
The mailbox controller driver for the Microchip Inter-processor Communication can be built as a module. It uses cpuid_to_hartid_map and commit 4783ce32b080 ("riscv: export __cpuid_to_hartid_map") enables that to work for SMP. However, cpuid_to_hartid_map uses boot_cpu_hartid on non-SMP kernels and this driver can be useful in such configurations[1]. Export boot_cpu_hartid so the driver can be built as a module on non-SMP kernels as well. Link: https://lore.kernel.org/lkml/20250617-confess-reimburse-876101e099cb@spud/ [1] Cc: [email protected] Fixes: e4b1d67e7141 ("mailbox: add Microchip IPC support") Signed-off-by: Klara Modin <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions