* [PATCH] acpi: fix modpost warnings
@ 2007-12-13 8:32 Jan Beulich
2007-12-13 22:53 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-12-13 8:32 UTC (permalink / raw)
To: len.brown; +Cc: linux-acpi, linux-kernel
Signed-off-by: Jan Beulich <jbeulich@novell.com>
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] acpi: fix modpost warnings
2007-12-13 8:32 [PATCH] acpi: fix modpost warnings Jan Beulich
@ 2007-12-13 22:53 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2007-12-13 22:53 UTC (permalink / raw)
To: Jan Beulich; +Cc: linux-acpi, linux-kernel
Applied.
thanks,
-Len
On Thursday 13 December 2007 03:32, Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
>
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-13 22:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 8:32 [PATCH] acpi: fix modpost warnings Jan Beulich
2007-12-13 22:53 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox