[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080805095739.GA12078@verge.net.au>
Date: Tue, 5 Aug 2008 19:57:41 +1000
From: Simon Horman <horms@...ge.net.au>
To: linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Tony Luck <tony.luck@...el.com>
Subject: [patch] IA64: make rsvd_region and num_rsvd_regions static
rsvd_region and num_rsvd_regions are only accessed in
arch/ia64/kernel/setup.c, so they should be static.
Signed-off-by: Simon Horman <horms@...ge.net.au>
Index: linux-2.6/arch/ia64/kernel/setup.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/setup.c 2008-08-02 17:38:02.000000000 +1000
+++ linux-2.6/arch/ia64/kernel/setup.c 2008-08-02 17:38:20.000000000 +1000
@@ -132,8 +132,8 @@ EXPORT_SYMBOL(ia64_max_iommu_merge_mask)
/*
* We use a special marker for the end of memory and it uses the extra (+1) slot
*/
-struct rsvd_region rsvd_region[IA64_MAX_RSVD_REGIONS + 1] __initdata;
-int num_rsvd_regions __initdata;
+static struct rsvd_region rsvd_region[IA64_MAX_RSVD_REGIONS + 1] __initdata;
+static int num_rsvd_regions __initdata;
/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists