From patchwork Fri Aug 26 05:05:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1100102 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7Q55rJr023014 for ; Fri, 26 Aug 2011 05:05:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751124Ab1HZFFw (ORCPT ); Fri, 26 Aug 2011 01:05:52 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:47701 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751195Ab1HZFFw (ORCPT ); Fri, 26 Aug 2011 01:05:52 -0400 Received: by gxk21 with SMTP id 21so2455840gxk.19 for ; Thu, 25 Aug 2011 22:05:51 -0700 (PDT) Received: by 10.231.84.18 with SMTP id h18mr1396098ibl.12.1314335151564; Thu, 25 Aug 2011 22:05:51 -0700 (PDT) Received: from localhost.localdomain (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id a11sm624051ibg.38.2011.08.25.22.05.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Aug 2011 22:05:50 -0700 (PDT) From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: Nobuhiro Iwamatsu Subject: [PATCH] sh: Fix implicit declaration of function numa_node_id Date: Fri, 26 Aug 2011 14:05:41 +0900 Message-Id: <1314335141-15887-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 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 (demeter2.kernel.org [140.211.167.43]); Fri, 26 Aug 2011 05:05:53 +0000 (UTC) CC arch/sh/kernel/topology.o arch/sh/kernel/topology.c: In function ‘topology_init’: arch/sh/kernel/topology.c:77: error: implicit declaration of function ‘numa_node_id’ Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/kernel/topology.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/sh/kernel/topology.c b/arch/sh/kernel/topology.c index ab37955..3297150 100644 --- a/arch/sh/kernel/topology.c +++ b/arch/sh/kernel/topology.c @@ -7,6 +7,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ + #include #include #include @@ -14,6 +15,7 @@ #include #include #include +#include static DEFINE_PER_CPU(struct cpu, cpu_devices);