From patchwork Fri May 10 06:15:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2548401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 4164DDF2A2 for ; Fri, 10 May 2013 06:30:20 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UagqG-0001Z6-RM; Fri, 10 May 2013 06:30:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UagqE-0000Xv-3E; Fri, 10 May 2013 06:30:06 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UagqB-0000X0-LJ for linux-arm-kernel@lists.infradead.org; Fri, 10 May 2013 06:30:04 +0000 Received: by mail-pa0-f48.google.com with SMTP id kp6so2682236pab.35 for ; Thu, 09 May 2013 23:29:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=N7lOPj9PovBrh/qZ0vya8cCAXOcZFf1PwGaHXk21kA0=; b=Sdf7cGsLuROcWtyYJTWS4NPiM+DGQNY+ydHryR/+3fNlImAz1YgvBPjkw0F0whnOGP DwRFSD1spu61MYfTJV5WGk3Mi4zHgKZLRiedwOT4dA8A5wAjiIMDDS0JbIUVjdyBHZtK fYX1LvfUGdSu62oPsvkYTMkjhPEU95I8j/gqf2p1TUYMkoVU4mwfV68LfaiYZ86Uu80v hewgDqelzplSriIam67XXQvb6ZmD8mp39RggnDG3vdCknQTipWda3UU7QJOOHnHbw8G5 yCF+OCzMogQTb0sctmDfzAhOfXri0RXBbjQQAW6fFdbPQMLo3z1T44RtC3Psd97l72A9 EyPw== X-Received: by 10.66.177.46 with SMTP id cn14mr16768125pac.4.1368167379524; Thu, 09 May 2013 23:29:39 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pa2sm1584553pac.9.2013.05.09.23.29.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 May 2013 23:29:38 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] ARM: mcpm: Fix build error with gic_secondary_init call Date: Fri, 10 May 2013 11:45:26 +0530 Message-Id: <1368166526-12525-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlLiuHU/Mmg1XIahN03kVxZvUTNUOCuN+g9MwSOykQ13eSYFGuLa/IpQuob00hofWzoO/US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130510_023003_778900_419FE14C X-CRM114-Status: GOOD ( 12.15 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.48 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: sachin.kamat@linaro.org, Catalin Marinas , linux@arm.linux.org.uk, Nicolas Pitre X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Commit c0114709ed ("irqchip: gic: Perform the gic_secondary_init() call via CPU notifier") removed all platform calls to gic_secondary_init. Since this file got merged after the removal of the above call, this function got left out in the current file which is causing the following build error: arch/arm/common/mcpm_platsmp.c:52:2: error: implicit declaration of function ‘gic_secondary_init’ [-Werror=implicit-function-declaration] gic_secondary_init(0); Signed-off-by: Sachin Kamat Cc: Catalin Marinas Cc: Nicolas Pitre --- Compile tested only. --- arch/arm/common/mcpm_platsmp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/common/mcpm_platsmp.c b/arch/arm/common/mcpm_platsmp.c index 52b88d8..3caed0d 100644 --- a/arch/arm/common/mcpm_platsmp.c +++ b/arch/arm/common/mcpm_platsmp.c @@ -15,8 +15,6 @@ #include #include -#include - #include #include #include @@ -49,7 +47,6 @@ static int __cpuinit mcpm_boot_secondary(unsigned int cpu, struct task_struct *i static void __cpuinit mcpm_secondary_init(unsigned int cpu) { mcpm_cpu_powered_up(); - gic_secondary_init(0); } #ifdef CONFIG_HOTPLUG_CPU