diff options
author | Daniel Kiper <dkiper@net-space.pl> | 2011-05-24 20:12:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:29 -0400 |
commit | ba93fa81b5f2bf0076407a3a777fff122ce16220 (patch) | |
tree | c859d60816b3815679b45d7e492fbbe03e7e2b19 | |
parent | e3c40f379a144f35e53864a2cd970e238071afd7 (diff) |
mm: do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM
Do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM.
Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
Acked-by: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 6702171f8d0a..32309f6542e8 100644 --- 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) | |||
605 | #define NODE_NOT_IN_PAGE_FLAGS | 605 | #define NODE_NOT_IN_PAGE_FLAGS |
606 | #endif | 606 | #endif |
607 | 607 | ||
608 | #ifndef PFN_SECTION_SHIFT | ||
609 | #define PFN_SECTION_SHIFT 0 | ||
610 | #endif | ||
611 | |||
612 | /* | 608 | /* |
613 | * Define the bit shifts to access each section. For non-existent | 609 | * Define the bit shifts to access each section. For non-existent |
614 | * sections we define the shift as 0; that plus a 0 mask ensures | 610 | * sections we define the shift as 0; that plus a 0 mask ensures |