Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 423b41d7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] mm/page_alloc: use NULL instead of 0 for ptr



Use NULL instead of 0 for pointer value, eliminate sparse warnings.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 17a3b050
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1591,7 +1591,7 @@ static int __meminit __build_all_zonelists(void *dummy)
void __meminit build_all_zonelists(void)
void __meminit build_all_zonelists(void)
{
{
	if (system_state == SYSTEM_BOOTING) {
	if (system_state == SYSTEM_BOOTING) {
		__build_all_zonelists(0);
		__build_all_zonelists(NULL);
		cpuset_init_current_mems_allowed();
		cpuset_init_current_mems_allowed();
	} else {
	} else {
		/* we have to stop all cpus to guaranntee there is no user
		/* we have to stop all cpus to guaranntee there is no user