]> 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)
commitd4dbe41cb47e608db0156e127e7872d510c0c1c9
tree305785d6b4ee85ea3d3c640e306a9cee466dc9bf
parent6393583041058fa8a778ea4417d526bffd664fcf
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: aabf9dfb051c("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