Palmer Dabbelt b2f8cfa7ac
RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid
It's a bit confusing exactly what this function does: it actually
returns the hartid of an OF processor node, failing with -1 on invalid
nodes.  I've changed the name to _hartid() in order to make that a bit
more clear, as well as adding a comment.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
[Atish: code comment formatting update]
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-10-22 17:03:36 -07:00
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-10-07 08:15:57 +02:00
2018-10-08 11:09:34 -07:00
2018-08-08 15:44:47 +10:00
2018-10-20 12:26:26 +10:00
2018-08-16 12:26:24 -07:00
2018-10-10 22:09:02 +02:00
2018-07-30 10:04:58 +02:00
2018-10-17 22:00:22 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-10-10 08:44:35 +02:00
2018-09-28 18:04:06 -07:00
2018-09-24 15:16:41 +02:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-08-17 11:32:50 -07:00
2018-08-24 08:45:19 -07:00
2018-08-18 11:04:51 -07:00