diff options
author | Atish Patra <atish.patra@wdc.com> | 2018-08-06 16:17:36 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-08-13 08:31:32 -0700 |
commit | 4c42ae4f6ab78f9ce3fa7e66de44f666733288da (patch) | |
tree | e2f1609b55c979ba955320895c28aa5e5f9d70a0 /arch/riscv/kernel/vdso.c | |
parent | 8237f8bc4f6eb7e5ce2a19276079cfd3a7c6314a (diff) |
RISC-V: Fix !CONFIG_SMP compilation error
Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP
generates following compilation error.
arch/riscv/include/asm/perf_event.h:80:2: error: expected
specifier-qualifier-list before 'irqreturn_t'
irqreturn_t (*handle_irq)(int irq_num, void *dev);
^~~~~~~~~~~
Include interrupt.h in proper place to avoid compilation
error.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/vdso.c')
0 files changed, 0 insertions, 0 deletions