Searched refs:hart (Results 1 – 2 of 2) sorted by relevance
63 int hart; in setup_smp() local68 hart = riscv_of_processor_hartid(dn); in setup_smp()69 if (hart < 0) in setup_smp()72 if (hart == cpuid_to_hartid_map(0)) { in setup_smp()79 cpuid, hart); in setup_smp()83 cpuid_to_hartid_map(cpuid) = hart; in setup_smp()
18 u32 hart; in riscv_of_processor_hartid() local25 if (of_property_read_u32(node, "reg", &hart)) { in riscv_of_processor_hartid()31 pr_info("CPU with hartid=%d is not available\n", hart); in riscv_of_processor_hartid()36 pr_warn("CPU with hartid=%d has no \"riscv,isa\" property\n", hart); in riscv_of_processor_hartid()40 pr_warn("CPU with hartid=%d has an invalid ISA of \"%s\"\n", hart, isa); in riscv_of_processor_hartid()44 return hart; in riscv_of_processor_hartid()