From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753439AbbGFDil (ORCPT ); Sun, 5 Jul 2015 23:38:41 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:34298 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753010AbbGFDif (ORCPT ); Sun, 5 Jul 2015 23:38:35 -0400 From: Caesar Wang To: heiko@sntech.de Cc: fengguang.wu@intel.com, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.or, dianders@chromium.org, kever.yang@rock-chips.com, linux-kernel@vger.kernel.org, Caesar Wang Subject: [PATCH] ARM: rockchip: fix broken build Date: Mon, 6 Jul 2015 11:37:23 +0800 Message-Id: <1436153843-27784-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following was seen in branch[0] build. arch/arm/mach-rockchip/platsmp.c:154:23: error: 'rockchip_secondary_startup' undeclared (first use in this function) branch[0]: git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git v4.3-armsoc/soc The broken build is caused by the commit (fe4407c0dc58215a7abfb7532740d79ddabe7a7a) Signed-off-by: Caesar Wang --- arch/arm/mach-rockchip/platsmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c index 7ebd1c1..3e7a4b7 100644 --- a/arch/arm/mach-rockchip/platsmp.c +++ b/arch/arm/mach-rockchip/platsmp.c @@ -152,8 +152,7 @@ static int rockchip_boot_secondary(unsigned int cpu, struct task_struct *idle) */ mdelay(1); /* ensure the cpus other than cpu0 to startup */ - writel(virt_to_phys(rockchip_secondary_startup), - sram_base_addr + 8); + writel(virt_to_phys(secondary_startup), sram_base_addr + 8); writel(0xDEADBEAF, sram_base_addr + 4); dsb_sev(); } -- 1.9.1