diff options
| author | Kefeng Wang <[email protected]> | 2020-04-17 12:12:22 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-04-21 23:15:09 +0000 |
| commit | 7d0ce3b2b483480cc2784e25ae00fddcf815f803 (patch) | |
| tree | 2258ea9e57c5ffadadd7bcc5d5f7ab75515c22cd /tools/perf/scripts/python/intel-pt-events.py | |
| parent | tty: riscv: Using RISCV_SBI_V01 instead of RISCV_SBI (diff) | |
| download | kernel-7d0ce3b2b483480cc2784e25ae00fddcf815f803.tar.gz kernel-7d0ce3b2b483480cc2784e25ae00fddcf815f803.zip | |
riscv: sbi: Fix undefined reference to sbi_shutdown
There is no shutdown call in SBI v0.2, only set pm_power_off
when RISCV_SBI_V01 enabled to fix following build error,
riscv64-linux-ld: arch/riscv/kernel/sbi.o: in function `sbi_power_off':
sbi.c:(.text+0xe): undefined reference to `sbi_shutdown
Fixes: efca13989250 ("RISC-V: Introduce a new config for SBI v0.1")
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
