-#include <linux/console.h>
+#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
-#include <device/cpu.h>
+#include <cpu/cpu.h>
#if CONFIG_SMP
#error "This Configuration does not support SMP"
info = cpu_info();
/* Get the device path of the boot cpu */
- cpu_path.type = DEVICE_PATH_BOOT_CPU;
+ cpu_path.type = DEVICE_PATH_CPU;
+ cpu_path.u.cpu.id = 0;
/* Find the device struct for the boot cpu */
- info->cpu = alloc_find_dev(bus, &cpu_path);
+ info->cpu = alloc_find_dev(cpu_bus, &cpu_path);
/* Initialize the bootstrap processor */
cpu_initialize();