Re: [U-Boot] [PATCH v6 4/8] x86: fix a typo in function name

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan  wrote:
> Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This should be a
> typo.
>
> Signed-off-by: Miao Yan 
> Reviewed-by: Simon Glass 
> Reviewed-by: Bin Meng 
> ---

applied to u-boot-x86/next, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v6 4/8] x86: fix a typo in function name

2016-01-07 Thread Miao Yan
Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This should be a
typo.

Signed-off-by: Miao Yan 
Reviewed-by: Simon Glass 
Reviewed-by: Bin Meng 
---
 arch/x86/cpu/mp_init.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index 4334f5b..2f34317 100644
--- a/arch/x86/cpu/mp_init.c
+++ b/arch/x86/cpu/mp_init.c
@@ -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, );
+   ret = find_cpu_by_apic_id(apic_id, );
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;
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot