diff options
author | Greentime Hu <greentime.hu@sifive.com> | 2020-06-22 16:47:25 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-06-29 15:23:28 -0700 |
commit | a2693fe254e77055cb80571fa2d723021dd3aa1d (patch) | |
tree | a2eec03282e4988814f8708c3bc0e1e3178d95eb /arch/riscv/mm | |
parent | 234e9d7a6200952264002b9ba808e7dfc559b0b2 (diff) | |
download | linux-a2693fe254e77055cb80571fa2d723021dd3aa1d.tar.gz linux-a2693fe254e77055cb80571fa2d723021dd3aa1d.tar.bz2 linux-a2693fe254e77055cb80571fa2d723021dd3aa1d.zip |
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>
Diffstat (limited to 'arch/riscv/mm')
0 files changed, 0 insertions, 0 deletions