diff options
author | Atish Patra <atish.patra@wdc.com> | 2018-10-02 12:15:05 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-22 17:03:37 -0700 |
commit | f99fb607fb2bc0d4ce6b9adb764c65e37f40a92b (patch) | |
tree | 082100e81815f6c2fa5d152821d24351aa16a871 /sound/oss | |
parent | 6825c7a80f1863b975a00042abe140ea24813af2 (diff) | |
download | linux-f99fb607fb2bc0d4ce6b9adb764c65e37f40a92b.tar.bz2 |
RISC-V: Use Linux logical CPU number instead of hartid
Setup the cpu_logical_map during boot. Moreover, every SBI call
and PLIC context are based on the physical hartid. Use the logical
CPU to hartid mapping to pass correct hartid to respective functions.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions