Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 765b5f32 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Must run smp_setup_cpu_possible_map() after paging_init()



Otherwise the in-kernel PROM device tree isn't built yet,
and therefore the present cpu bits don't get set properly.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2a5a46b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -376,12 +376,12 @@ void __init setup_arch(char **cmdline_p)
	}
#endif

	smp_setup_cpu_possible_map();

	/* Get boot processor trap_block[] setup.  */
	init_cur_cpu_trap(current_thread_info());

	paging_init();

	smp_setup_cpu_possible_map();
}

static int __init set_preferred_console(void)