• Wu Fengguang's avatar
    x86: Use the generic page_is_ram() · 13ca0fca
    Wu Fengguang authored
    The generic resource based page_is_ram() works better with memory
    hotplug/hotremove. So switch the x86 e820map based code to it.
    
    CC: Andi Kleen <andi@firstfloor.org>
    CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    CC: Yinghai Lu <yinghai@kernel.org>
    Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
    LKML-Reference: <20100122033004.470767217@intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    13ca0fca
ioremap.c 15.3 KB