Commit 433f13a7 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

bootmem.c: avoid c90 declaration warning

[ cleanup]
Signed-off-by: default avatarJoe Perches <>
Cc: Pekka Enberg <>
Cc: Benjamin Herrenschmidt <>
Cc: Tejun Heo <>
Cc: Johannes Weiner <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1e9c2859
...@@ -536,11 +536,15 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata, ...@@ -536,11 +536,15 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
return kzalloc(size, GFP_NOWAIT); return kzalloc(size, GFP_NOWAIT);
bootmem_data_t *p_bdata; {
bootmem_data_t *p_bdata;
p_bdata = bootmem_arch_preferred_node(bdata, size, align, goal, limit);
if (p_bdata) p_bdata = bootmem_arch_preferred_node(bdata, size, align,
return alloc_bootmem_core(p_bdata, size, align, goal, limit); goal, limit);
if (p_bdata)
return alloc_bootmem_core(p_bdata, size, align,
goal, limit);
#endif #endif
return NULL; return NULL;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment