diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-09-04 16:14:06 +0000 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-09-20 08:36:39 -0700 |
commit | d3d7a0ce020e2d14967159b5351158c80b681760 (patch) | |
tree | a8ca4545bfae0c548d9b2de5ff7100a72ad04ee6 /arch/riscv | |
parent | dee04eee9182dae91801d0db5bb2acfd5365a749 (diff) | |
download | lwn-d3d7a0ce020e2d14967159b5351158c80b681760.tar.gz lwn-d3d7a0ce020e2d14967159b5351158c80b681760.zip |
RISC-V: Export kernel symbols for kvm
Export a few symbols used by kvm module. Without this, kvm cannot
be compiled as a module.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
[paul.walmsley@sifive.com: updated to apply; clarified short patch
description]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/kernel/smp.c | 1 | ||||
-rw-r--r-- | arch/riscv/kernel/time.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c index 3836760d7aaf..b18cd6c8e8fb 100644 --- a/arch/riscv/kernel/smp.c +++ b/arch/riscv/kernel/smp.c @@ -206,3 +206,4 @@ void smp_send_reschedule(int cpu) { send_ipi_single(cpu, IPI_RESCHEDULE); } +EXPORT_SYMBOL_GPL(smp_send_reschedule); diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c index 541a2b885814..9dd1f2e64db1 100644 --- a/arch/riscv/kernel/time.c +++ b/arch/riscv/kernel/time.c @@ -9,6 +9,7 @@ #include <asm/sbi.h> unsigned long riscv_timebase; +EXPORT_SYMBOL_GPL(riscv_timebase); void __init time_init(void) { |