|
@@ -747,6 +747,10 @@ void __init early_init_devtree(void *params)
|
|
|
* (altivec support, boot CPU ID, ...)
|
|
|
*/
|
|
|
of_scan_flat_dt(early_init_dt_scan_cpus, NULL);
|
|
|
+ if (boot_cpuid < 0) {
|
|
|
+ printk("Failed to indentify boot CPU !\n");
|
|
|
+ BUG();
|
|
|
+ }
|
|
|
|
|
|
#if defined(CONFIG_SMP) && defined(CONFIG_PPC64)
|
|
|
/* We'll later wait for secondaries to check in; there are
|