From patchwork Thu Mar 24 05:47:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 657851 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2O5sd7g007121 for ; Thu, 24 Mar 2011 05:54:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754946Ab1CXFyj (ORCPT ); Thu, 24 Mar 2011 01:54:39 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:51192 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752396Ab1CXFyi (ORCPT ); Thu, 24 Mar 2011 01:54:38 -0400 Received: by pzk9 with SMTP id 9so1130716pzk.19 for ; Wed, 23 Mar 2011 22:54:38 -0700 (PDT) Received: by 10.142.226.16 with SMTP id y16mr5896567wfg.141.1300946078322; Wed, 23 Mar 2011 22:54:38 -0700 (PDT) Received: from localhost.localdomain (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id m10sm11033843wfl.11.2011.03.23.22.54.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2011 22:54:37 -0700 (PDT) From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: linux-kernel@vger.kernel.org, eric.dumazet@gmail.com, Nobuhiro Iwamatsu Subject: [PATCH] sh: Fix build alloc_thread_info_node function Date: Thu, 24 Mar 2011 14:47:40 +0900 Message-Id: <1300945660-8323-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.2.3 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 24 Mar 2011 05:54:42 +0000 (UTC) diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c index f39ad57..325f98b 100644 --- a/arch/sh/kernel/process.c +++ b/arch/sh/kernel/process.c @@ -32,7 +32,7 @@ void free_thread_xstate(struct task_struct *tsk) #if THREAD_SHIFT < PAGE_SHIFT static struct kmem_cache *thread_info_cache; -struct thread_info *alloc_thread_info(struct task_struct *tsk, int node) +struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node) { struct thread_info *ti; #ifdef CONFIG_DEBUG_STACK_USAGE @@ -57,7 +57,7 @@ void thread_info_cache_init(void) THREAD_SIZE, SLAB_PANIC, NULL); } #else -struct thread_info *alloc_thread_info(struct task_struct *tsk) +struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node) { #ifdef CONFIG_DEBUG_STACK_USAGE gfp_t mask = GFP_KERNEL | __GFP_ZERO;