summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2013-06-07 10:08:01 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-06-17 18:16:20 +1000
commitebe1c7b888a75732ea066c5f476dc105d6b86082 (patch)
tree7d5ca332cc7616dee200f8b7020955d3320faeb9 /arch/x86
parentc38df3d4414cbe84416fa2fee39632ce0a7fb6a0 (diff)
mm-correctly-update-zone-managed_pages-fix-fix
When CONFIG_HIGHMEM is undefined, totalhigh_pages is defined as: #define totalhigh_pages 0UL Thus statement "totalhigh_pages += count" will cause build failure as: CC mm/page_alloc.o mm/page_alloc.c: In function `adjust_managed_page_count': mm/page_alloc.c:5262:19: error: lvalue required as left operand of assignment make[1]: *** [mm/page_alloc.o] Error 1 make: *** [mm/page_alloc.o] Error 2 So we still need to use CONFIG_HIGHMEM to guard the statement. Cc: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions