From patchwork Thu Apr 29 00:56:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Huewe X-Patchwork-Id: 95843 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3T0uCRR022649 for ; Thu, 29 Apr 2010 00:56:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757347Ab0D2A4M (ORCPT ); Wed, 28 Apr 2010 20:56:12 -0400 Received: from mail.gmx.net ([213.165.64.20]:32832 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754313Ab0D2A4K (ORCPT ); Wed, 28 Apr 2010 20:56:10 -0400 Received: (qmail invoked by alias); 29 Apr 2010 00:56:09 -0000 Received: from dslb-084-056-011-019.pools.arcor-ip.net (EHLO lamer.localnet) [84.56.11.19] by mail.gmx.net (mp050) with SMTP; 29 Apr 2010 02:56:09 +0200 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX1/Uh1FD3M3UDyn9wQnt8sBizTPkck6/veEuIvekpZ NrHo5fCdNkUfg+ From: Peter Huewe To: Paul Mundt Subject: [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable Date: Thu, 29 Apr 2010 02:56:10 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.33.2; KDE/4.3.5; x86_64; ; ) Cc: Rusty Russell , Matt Fleming , Mike Travis , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org MIME-Version: 1.0 Message-Id: <201004290256.10506.PeterHuewe@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51000000000000001 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 29 Apr 2010 00:56:13 +0000 (UTC) diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 86cd6f9..509b36b 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c @@ -161,7 +161,7 @@ int __cpu_disable(void) return 0; } #else /* ... !CONFIG_HOTPLUG_CPU */ -int native_cpu_disable(void) +int native_cpu_disable(unsigned int cpu) { return -ENOSYS; }