From patchwork Wed Apr 28 11:11:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Fleming X-Patchwork-Id: 95653 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 o3SBBaeo017039 for ; Wed, 28 Apr 2010 11:11:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751166Ab0D1LLg (ORCPT ); Wed, 28 Apr 2010 07:11:36 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:46640 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753416Ab0D1LLg (ORCPT ); Wed, 28 Apr 2010 07:11:36 -0400 Received: from localhost (unknown [127.0.0.1]) by master.linux-sh.org (Postfix) with ESMTP id 5203B636B0; Wed, 28 Apr 2010 11:11:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at linux-sh.org Received: from master.linux-sh.org ([127.0.0.1]) by localhost (master.linux-sh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yKh2Fnj63kjV; Wed, 28 Apr 2010 20:11:10 +0900 (JST) Received: from localhost (87-194-181-196.bethere.co.uk [87.194.181.196]) by master.linux-sh.org (Postfix) with ESMTP id 52F40636AA; Wed, 28 Apr 2010 20:11:10 +0900 (JST) From: Matt Fleming To: Paul Mundt Cc: linux-sh@vger.kernel.org, Matt Fleming Subject: [PATCH] sh: native_cpu_disable() build error when CONFIG_HOTPLUG_CPU=n Date: Wed, 28 Apr 2010 12:11:30 +0100 Message-Id: <2055fb5d5b201eb36a3814cf0dc4658c33a33bcd.1272453051.git.matt@console-pimps.org> X-Mailer: git-send-email 1.6.4.rc0 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]); Wed, 28 Apr 2010 11:11:37 +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; }