]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: perf: RISCV_BASE_PMU should be independent
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 7 May 2020 15:04:45 +0000 (23:04 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 12 May 2020 23:21:46 +0000 (16:21 -0700)
commitfa34c76c65fa0621b89a88a30ccfe7b7a425a80d
tree305785d6b4ee85ea3d3c640e306a9cee466dc9bf
parent2b141c43ef105d4d8c3b7551f312fea5b37059a8
riscv: perf: RISCV_BASE_PMU should be independent

Selecting PERF_EVENTS without selecting RISCV_BASE_PMU results in a build
error.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
[Palmer: commit text]
Fixes: b86c23c9b0fd("perf: riscv: preliminary RISC-V support")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/perf_event.h
arch/riscv/kernel/Makefile