mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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>
This commit is contained in:
parent
e3c40f379a
commit
ba93fa81b5
1 changed files with 0 additions and 4 deletions
|
@ -605,10 +605,6 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)
|
||||||
#define NODE_NOT_IN_PAGE_FLAGS
|
#define NODE_NOT_IN_PAGE_FLAGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PFN_SECTION_SHIFT
|
|
||||||
#define PFN_SECTION_SHIFT 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define the bit shifts to access each section. For non-existent
|
* Define the bit shifts to access each section. For non-existent
|
||||||
* sections we define the shift as 0; that plus a 0 mask ensures
|
* sections we define the shift as 0; that plus a 0 mask ensures
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue