HomeFreeBSD

riscv: Use global mimpid in identify_cpu()

Description

riscv: Use global mimpid in identify_cpu()

sbi_init() sets mimpid, we can use that value.

Reviewed by: philip (mentor), kp (mentor)
Approved by: philip (mentor), kp (mentor)
Sponsored by: Axiado
Differential Revision: https://reviews.freebsd.org/D26092

Details

Provenance
nickAuthored on
Reviewer
philip
Differential Revision
D26092: riscv: Use global mimpid in identify_cpu()
Parents
rS364348: cam: add missing MAKEDEV_NOWAIT in passregister
Branches
Unknown
Tags
Unknown