projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70c17d
)
mm fix commmets: if SPARSEMEM, pgdata doesn't have page_ext
author
Weijie Yang
<
[email protected]
>
Fri, 20 May 2016 23:58:04 +0000
(16:58 -0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 21 May 2016 00:58:30 +0000
(17:58 -0700)
If SPARSEMEM, use page_ext in mem_section
if !SPARSEMEM, use page_ext in pgdata
Signed-off-by: Weijie Yang <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/mmzone.h
patch
|
blob
|
history
diff --git
a/include/linux/mmzone.h
b/include/linux/mmzone.h
index 8dd0333b01dc254aad75654611dcb9e36f499e22..02069c23486de013baa2d1c8f32c305a24224d7d 100644
(file)
--- a/
include/linux/mmzone.h
+++ b/
include/linux/mmzone.h
@@
-1063,7
+1063,7
@@
struct mem_section {
unsigned long *pageblock_flags;
#ifdef CONFIG_PAGE_EXTENSION
/*
- * If
!
SPARSEMEM, pgdat doesn't have page_ext pointer. We use
+ * If SPARSEMEM, pgdat doesn't have page_ext pointer. We use
* section. (see page_ext.h about this.)
*/
struct page_ext *page_ext;