[PATCH] acpi: fix modpost warnings

From: Jan Beulich
Date: Thu Dec 13 2007 - 03:31:47 EST


Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

drivers/acpi/numa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.24-rc5/drivers/acpi/numa.c 2007-10-09 22:31:38.000000000 +0200
+++ 2.6.24-rc5-acpi-init-warning/drivers/acpi/numa.c 2007-12-04 16:09:33.000000000 +0100
@@ -38,9 +38,9 @@ ACPI_MODULE_NAME("numa");
static nodemask_t nodes_found_map = NODE_MASK_NONE;

/* maps to convert between proximity domain and logical node ID */
-static int __cpuinitdata pxm_to_node_map[MAX_PXM_DOMAINS]
+static int pxm_to_node_map[MAX_PXM_DOMAINS]
= { [0 ... MAX_PXM_DOMAINS - 1] = NID_INVAL };
-static int __cpuinitdata node_to_pxm_map[MAX_NUMNODES]
+static int node_to_pxm_map[MAX_NUMNODES]
= { [0 ... MAX_NUMNODES - 1] = PXM_INVAL };

int pxm_to_node(int pxm)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/