[PATCH] bootmem.c: Avoid c90 declaration warning

From: Joe Perches
Date: Thu Jun 18 2009 - 16:07:30 EST


Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

diff --git a/mm/bootmem.c b/mm/bootmem.c
index 282df0a..09d9c98 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -536,11 +536,13 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
return kzalloc(size, GFP_NOWAIT);

#ifdef CONFIG_HAVE_ARCH_BOOTMEM
+ {
bootmem_data_t *p_bdata;

p_bdata = bootmem_arch_preferred_node(bdata, size, align, goal, limit);
if (p_bdata)
return alloc_bootmem_core(p_bdata, size, align, goal, limit);
+ }
#endif
return NULL;
}


--
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/