RISC-V: Provide a cleaner raw_smp_processor_id()
authorPalmer Dabbelt <palmer@sifive.com>
Tue, 2 Oct 2018 19:14:59 +0000 (12:14 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:03:36 +0000 (17:03 -0700)
commit9639a44394b9859a5576cb36630105733a552bd6
tree6e4ad36c54561c3efa773e06aaaf636eed0fc3b6
parent6db170ff4c088caaf7806c00b29a55f6df07d7b6
RISC-V: Provide a cleaner raw_smp_processor_id()

I'm not sure how I managed to miss this the first time, but this is much
better.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
[Atish: code comment formatting and other fixes]
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/smp.h