summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorGreentime Hu <greentime.hu@sifive.com>2020-06-22 16:47:25 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-06-29 15:23:28 -0700
commita2693fe254e77055cb80571fa2d723021dd3aa1d (patch)
treea2eec03282e4988814f8708c3bc0e1e3178d95eb /arch/riscv/mm
parent234e9d7a6200952264002b9ba808e7dfc559b0b2 (diff)
downloadlinux-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