Skip to content

Commit ba93fa8

Browse files
dkipertorvalds
authored andcommitted
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>
1 parent e3c40f3 commit ba93fa8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/mm.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,6 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)
605605
#define NODE_NOT_IN_PAGE_FLAGS
606606
#endif
607607

608-
#ifndef PFN_SECTION_SHIFT
609-
#define PFN_SECTION_SHIFT 0
610-
#endif
611-
612608
/*
613609
* Define the bit shifts to access each section. For non-existent
614610
* sections we define the shift as 0; that plus a 0 mask ensures

0 commit comments

Comments
 (0)