From patchwork Tue Jan 6 15:43:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Calaby X-Patchwork-Id: 16812 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 6DCD4474E0 for ; Wed, 7 Jan 2009 02:43:53 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750873AbZAFPnw (ORCPT ); Tue, 6 Jan 2009 10:43:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751009AbZAFPnw (ORCPT ); Tue, 6 Jan 2009 10:43:52 -0500 Received: from outbound.icp-qv1-irony-out1.iinet.net.au ([203.59.1.108]:63664 "EHLO outbound.icp-qv1-irony-out1.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbZAFPnv (ORCPT ); Tue, 6 Jan 2009 10:43:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgYBAJcKY0l8qEn0/2dsb2JhbAAIjFW1O41QhXI X-IronPort-AV: E=Sophos;i="4.36,339,1228057200"; d="scan'208";a="437547768" Received: from unknown (HELO [192.168.2.115]) ([124.168.73.244]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 07 Jan 2009 00:43:48 +0900 Message-ID: <49637C1A.7080307@gmail.com> Date: Wed, 07 Jan 2009 02:43:22 +1100 From: Julian Calaby User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: sparclinux@vger.kernel.org CC: Sam Ravnborg Subject: [PATCH] sparc: Add includes missing from sparc_ksyms_*.c minimisation References: <4963718F.5050705@gmail.com> In-Reply-To: <4963718F.5050705@gmail.com> Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org sparc: Add includes missing from sparc_ksyms_*.c minimisation And fix a typo. Signed-off-by: Julian Calaby --- And of course, these little bits managed to slip through my build tests. (You're saying: with a bug like the one in tree_32.c, how the hell can he claim build tests? Well I thought they were sparc32, but they were sparc64 thanks to the recent Kconfig change) So, after I'm all done and dusted, I kick off my randconfig runs and the first one, the *first* *damn* *one* fails with these issues. Thanks, Julian Calaby --- arch/sparc/kernel/idprom.c | 1 + arch/sparc/prom/init_32.c | 1 + arch/sparc/prom/misc_32.c | 2 ++ arch/sparc/prom/ranges.c | 2 ++ arch/sparc/prom/tree_32.c | 3 ++- 5 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/sparc/kernel/idprom.c b/arch/sparc/kernel/idprom.c index 19ec377..57922f6 100644 --- a/arch/sparc/kernel/idprom.c +++ b/arch/sparc/kernel/idprom.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/arch/sparc/prom/init_32.c b/arch/sparc/prom/init_32.c index 14409a9..6193c33 100644 --- a/arch/sparc/prom/init_32.c +++ b/arch/sparc/prom/init_32.c @@ -8,6 +8,7 @@ #include #include +#include #include #include diff --git a/arch/sparc/prom/misc_32.c b/arch/sparc/prom/misc_32.c index 06b0936..4d61c54 100644 --- a/arch/sparc/prom/misc_32.c +++ b/arch/sparc/prom/misc_32.c @@ -8,6 +8,8 @@ #include #include #include +#include + #include #include #include diff --git a/arch/sparc/prom/ranges.c b/arch/sparc/prom/ranges.c index 6f30431..cd57908 100644 --- a/arch/sparc/prom/ranges.c +++ b/arch/sparc/prom/ranges.c @@ -6,6 +6,8 @@ */ #include +#include + #include #include #include diff --git a/arch/sparc/prom/tree_32.c b/arch/sparc/prom/tree_32.c index 65cbed4..646d244 100644 --- a/arch/sparc/prom/tree_32.c +++ b/arch/sparc/prom/tree_32.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -210,7 +211,7 @@ int prom_searchsiblings(int node_start, char *nodename) return 0; } -EXPORT_SYMBOL(prom_searchsiblinbs); +EXPORT_SYMBOL(prom_searchsiblings); /* Interal version of nextprop that does not alter return values. */ char * __prom_nextprop(int node, char * oprop)