]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] mm/page_alloc: use NULL instead of 0 for ptr
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 27 Sep 2006 08:50:12 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:13 +0000 (08:26 -0700)
Use NULL instead of 0 for pointer value, eliminate sparse warnings.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c

index 490aee1f2ce82218ae2fe0a112797d35f1d76fb4..4f59d90b81e65a314e0433dc61371b785b3df61f 100644 (file)
@@ -1591,7 +1591,7 @@ static int __meminit __build_all_zonelists(void *dummy)
 void __meminit build_all_zonelists(void)
 {
        if (system_state == SYSTEM_BOOTING) {
-               __build_all_zonelists(0);
+               __build_all_zonelists(NULL);
                cpuset_init_current_mems_allowed();
        } else {
                /* we have to stop all cpus to guaranntee there is no user