riscvarchive / riscv-linux

RISC-V Linux Port
606 stars 209 forks source link

base: fix order of OF initialization #100

Closed palmer-dabbelt closed 6 years ago

palmer-dabbelt commented 7 years ago

This fixes: [ 0.010000] cpu cpu0: Error -2 creating of_node link ... which you get for every CPU on all architectures with a OF cpu/ node.

This affects riscv, nios, etc.

Signed-off-by: Palmer Dabbelt palmer@dabbelt.com