|
@@ -53,7 +53,7 @@ void __init setup_smp(void)
|
|
int hart, im_okay_therefore_i_am = 0;
|
|
int hart, im_okay_therefore_i_am = 0;
|
|
|
|
|
|
while ((dn = of_find_node_by_type(dn, "cpu"))) {
|
|
while ((dn = of_find_node_by_type(dn, "cpu"))) {
|
|
- hart = riscv_of_processor_hart(dn);
|
|
|
|
|
|
+ hart = riscv_of_processor_hartid(dn);
|
|
if (hart >= 0) {
|
|
if (hart >= 0) {
|
|
set_cpu_possible(hart, true);
|
|
set_cpu_possible(hart, true);
|
|
set_cpu_present(hart, true);
|
|
set_cpu_present(hart, true);
|