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:
e3c40f3
)
mm: do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM
author
Daniel Kiper
<
[email protected]
>
Wed, 25 May 2011 00:12:34 +0000
(17:12 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 25 May 2011 15:39:29 +0000
(08:39 -0700)
Do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM.
Signed-off-by: Daniel Kiper <
[email protected]
>
Acked-by: Dave Hansen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index 6702171f8d0a0712a199816fa8723357f7124b46..32309f6542e816634c27030f3311fe1d995241cf 100644
(file)
--- a/
include/linux/mm.h
+++ b/
include/linux/mm.h
@@
-605,10
+605,6
@@
static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)
#define NODE_NOT_IN_PAGE_FLAGS
#endif
-#ifndef PFN_SECTION_SHIFT
-#define PFN_SECTION_SHIFT 0
-#endif
-
/*
* Define the bit shifts to access each section. For non-existent
* sections we define the shift as 0; that plus a 0 mask ensures