diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-06-01 14:45:39 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-06-09 19:11:20 -0700 |
commit | d175d699df07041befda3779f29bf7126c298730 (patch) | |
tree | 836e0da380d6b6e4ed2cc1cd50359c1ed75f2978 /drivers/of/base.c | |
parent | 5cf998ba8c7bbbfec3e0d6534c9a3f860ab9920e (diff) |
RISC-V: Rename and move plic_find_hart_id() to arch directory
The plic_find_hart_id() can be useful to other interrupt controller
drivers (such as RISC-V local interrupt driver) so we rename this
function to riscv_of_parent_hartid() and place it in arch directory
along with riscv_of_processor_hartid().
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions