acpi: fix modpost warnings
PATCH 1/1 acpi: fix modpost warnings
Signed-off-by Jan Beulich <[email protected]>
drivers/acpi/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/numa.c +2 -2
@@ -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)
Applied.
thanks,
-Len
Quoted 28 lines · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>drivers/acpi/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/acpi/numa.c +2
-3@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/