From: Daniel Kiper Date: Wed, 25 May 2011 00:12:34 +0000 (-0700) Subject: mm: do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM X-Git-Tag: v3.0-rc1~235 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ba93fa81b5f2bf0076407a3a777fff122ce16220;p=~shefty%2Frdma-dev.git mm: do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM Do not define PFN_SECTION_SHIFT if !CONFIG_SPARSEMEM. Signed-off-by: Daniel Kiper Acked-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/mm.h b/include/linux/mm.h index 6702171f8d0..32309f6542e 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) #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