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
..
2016-12-25 11:04:12 +01:00
2018-05-18 22:59:40 +02:00
2018-08-02 14:55:52 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-10-25 11:01:08 +02:00
2017-06-14 11:58:45 +02:00
2017-06-21 09:07:52 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 12:01:03 +02:00
2017-10-20 13:41:52 +02:00
2016-12-25 10:47:44 +01:00
2017-06-14 11:58:45 +02:00
2017-04-17 10:55:14 +02:00
2017-08-10 14:48:18 +02:00
2017-06-14 11:58:45 +02:00
2018-02-26 13:56:05 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-14 11:58:45 +02:00
2018-08-13 08:31:31 -07:00
2018-08-19 09:56:38 -07:00
2017-06-14 11:58:45 +02:00
2018-05-18 22:53:09 +02:00
2016-12-25 11:04:12 +01:00
2017-06-14 11:58:45 +02:00
2018-05-23 07:39:09 +02:00
2017-06-14 11:58:45 +02:00
2017-09-25 09:36:15 +02:00
2018-01-08 17:57:23 +01:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2018-10-22 17:03:36 -07:00
2017-10-19 23:49:02 +02:00
2017-06-14 12:01:03 +02:00
2016-12-25 11:04:12 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-06-26 18:32:04 +02:00
2017-11-02 11:10:55 +01:00
2018-01-08 17:57:23 +01:00
2018-08-13 18:28:19 -07:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2018-07-26 11:26:30 +02:00
2017-06-14 11:58:45 +02:00
2018-09-27 12:01:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2018-09-24 06:13:31 +02:00
2018-05-23 07:38:52 +02:00
2018-05-23 07:39:01 +02:00
2017-09-18 09:37:33 +02:00
2018-07-26 11:26:30 +02:00
2018-07-26 11:26:34 +02:00
2018-03-30 22:44:09 +02:00
2017-06-14 11:58:45 +02:00
2018-01-08 17:57:24 +01:00
2018-01-08 17:57:24 +01:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-08-31 15:56:17 +02:00
2018-05-02 08:32:57 -07:00
2017-11-02 11:10:55 +01:00
2018-07-26 11:26:34 +02:00
2018-06-12 23:54:01 +02:00
2018-02-22 10:59:33 +01:00
2018-09-13 15:23:35 +02:00
2018-02-28 13:41:30 -08:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2017-06-14 11:58:45 +02:00
2018-07-26 11:26:30 +02:00