]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: fix a typo in function name
authorMiao Yan <yanmiaobest@gmail.com>
Thu, 7 Jan 2016 09:32:02 +0000 (01:32 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jan 2016 04:20:15 +0000 (12:20 +0800)
Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This should be a
typo.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/mp_init.c

index 4334f5b3e5a89f722d384190ebe2bb4868ede5ae..2f34317858e40d94e86f39590a7c1aaea4552855 100644 (file)
@@ -104,7 +104,7 @@ static void ap_do_flight_plan(struct udevice *cpu)
        }
 }
 
-static int find_cpu_by_apid_id(int apic_id, struct udevice **devp)
+static int find_cpu_by_apic_id(int apic_id, struct udevice **devp)
 {
        struct udevice *dev;
 
@@ -137,7 +137,7 @@ static void ap_init(unsigned int cpu_index)
        enable_lapic();
 
        apic_id = lapicid();
-       ret = find_cpu_by_apid_id(apic_id, &dev);
+       ret = find_cpu_by_apic_id(apic_id, &dev);
        if (ret) {
                debug("Unknown CPU apic_id %x\n", apic_id);
                goto done;
@@ -432,7 +432,7 @@ static int init_bsp(struct udevice **devp)
        lapic_setup();
 
        apic_id = lapicid();
-       ret = find_cpu_by_apid_id(apic_id, devp);
+       ret = find_cpu_by_apic_id(apic_id, devp);
        if (ret) {
                printf("Cannot find boot CPU, APIC ID %d\n", apic_id);
                return ret;