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>
Showing
Please register or sign in to comment