]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/cpu/cpu.c
x86: Set APs' req_seq to the reg number from device tree
[karo-tx-uboot.git] / arch / x86 / cpu / cpu.c
index 4f571454e750dcd8db85d215cd9081835d467e6d..1b76ca117ee3df339d981bfe3cde74cbd4a9ee9d 100644 (file)
@@ -136,8 +136,10 @@ static void load_gdt(const u64 *boot_gdt, u16 num_entries)
        asm volatile("lgdtl %0\n" : : "m" (gdt));
 }
 
-void setup_gdt(gd_t *new_gd, u64 *gdt_addr)
+void arch_setup_gd(gd_t *new_gd)
 {
+       u64 *gdt_addr;
+
        gdt_addr = new_gd->arch.gdt;
 
        /* CS: code, read/execute, 4 GB, base 0 */