Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Use a local variable instead of smp_processor_id()
Store the smp_processor_id() in a local variable to save some pointer chasing. Signed-off-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
- Loading branch information