projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a3b05
)
[PATCH] mm/page_alloc: use NULL instead of 0 for ptr
author
Randy Dunlap
<rdunlap@xenotime.net>
Wed, 27 Sep 2006 08:50:12 +0000
(
01:50
-0700)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 490aee1f2ce82218ae2fe0a112797d35f1d76fb4..4f59d90b81e65a314e0433dc61371b785b3df61f 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-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