From patchwork Mon Jan 4 08:00:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miao Yan X-Patchwork-Id: 562260 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 703631402ED for ; Mon, 4 Jan 2016 19:02:10 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=z4IToI1q; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A1654B8A5; Mon, 4 Jan 2016 09:01:41 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7nYVLc3DzVhI; Mon, 4 Jan 2016 09:01:41 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16B884B86C; Mon, 4 Jan 2016 09:01:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7AE194B7E4 for ; Mon, 4 Jan 2016 09:01:13 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A8gYNF54Hqn7 for ; Mon, 4 Jan 2016 09:01:13 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by theia.denx.de (Postfix) with ESMTPS id 3AB464B6F3 for ; Mon, 4 Jan 2016 09:01:05 +0100 (CET) Received: by mail-pf0-f180.google.com with SMTP id e65so145560668pfe.1 for ; Mon, 04 Jan 2016 00:01:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=G0VwriFH2ddQ6YGvnjho/6g0d/+XtNF5BGA5bznwrbM=; b=z4IToI1qRKq7L2c3M7v9eFu0spZPa3y5u2O/f/iqKIW/hGxu8FxS7NEman2LGH0Hpu sEkYnGQf53hZTM4gf2UO897Ay9KunLbDJ1tC9T0eaRFZKFxmUjUezokR4r/8nVyUZxGD Ca8AVGiA+4hhptDN3LuMJ66AP8r958JRevXK2myMJ8wvuFzLyHGSSmCUTfqP0jtjFlyJ myQhAFu5K5mVs0S+N4itJ1vAa/I/F4Dh0oxkVBzBmTwWQ7ITqNJd25KBOLByfwDyYCTQ xG2PmYt7zjDzJdAzKgGfoHkT7HXmWMtTbfAWs0KBY82+Wz83rgizmuvTheCwWcYLfWuT 2H5A== X-Received: by 10.98.0.195 with SMTP id 186mr125403118pfa.84.1451894464233; Mon, 04 Jan 2016 00:01:04 -0800 (PST) Received: from pa-dbc1131.eng.vmware.com ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id p17sm89768592pfi.54.2016.01.04.00.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Jan 2016 00:01:03 -0800 (PST) From: Miao Yan To: u-boot@lists.denx.de, sjg@chromium.org, bmeng.cn@gmail.com Date: Mon, 4 Jan 2016 00:00:51 -0800 Message-Id: <1451894455-39387-5-git-send-email-yanmiaobest@gmail.com> X-Mailer: git-send-email 2.6.3.444.gfd13a2e In-Reply-To: <1451894455-39387-1-git-send-email-yanmiaobest@gmail.com> References: <1451894455-39387-1-git-send-email-yanmiaobest@gmail.com> Subject: [U-Boot] [PATCH v5 4/8] x86: fix a typo in function name X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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, &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;