projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/page_alloc: fix and rework pfn handling in memmap_init_zone()
[linux-block.git]
/
mm
/
sparse.c
diff --git
a/mm/sparse.c
b/mm/sparse.c
index 3822ecbd8a1f644e6e9e1d7b27655e5e5ae00ebe..3918fc3eaef1fe029c678032f25cf0c5642f3c1d 100644
(file)
--- a/
mm/sparse.c
+++ b/
mm/sparse.c
@@
-789,7
+789,7
@@
static void section_deactivate(unsigned long pfn, unsigned long nr_pages,
ms->usage = NULL;
}
memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr);
- ms->section_mem_map =
sparse_encode_mem_map(NULL, section_nr)
;
+ ms->section_mem_map =
(unsigned long)NULL
;
}
if (section_is_early && memmap)