diff options
Diffstat (limited to 'arch/s390/numa/numa.c')
-rw-r--r-- | arch/s390/numa/numa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c index 43f32ce60aa3..2794845061c6 100644 --- a/arch/s390/numa/numa.c +++ b/arch/s390/numa/numa.c | |||
@@ -57,9 +57,7 @@ static __init pg_data_t *alloc_node_data(void) | |||
57 | { | 57 | { |
58 | pg_data_t *res; | 58 | pg_data_t *res; |
59 | 59 | ||
60 | res = (pg_data_t *) memblock_alloc(sizeof(pg_data_t), 1); | 60 | res = (pg_data_t *) memblock_alloc(sizeof(pg_data_t), 8); |
61 | if (!res) | ||
62 | panic("Could not allocate memory for node data!\n"); | ||
63 | memset(res, 0, sizeof(pg_data_t)); | 61 | memset(res, 0, sizeof(pg_data_t)); |
64 | return res; | 62 | return res; |
65 | } | 63 | } |
@@ -162,7 +160,7 @@ static int __init numa_init_late(void) | |||
162 | register_one_node(nid); | 160 | register_one_node(nid); |
163 | return 0; | 161 | return 0; |
164 | } | 162 | } |
165 | device_initcall(numa_init_late); | 163 | arch_initcall(numa_init_late); |
166 | 164 | ||
167 | static int __init parse_debug(char *parm) | 165 | static int __init parse_debug(char *parm) |
168 | { | 166 | { |