mm/hotplug: prepare for removing num_physpages

Prepare for removing num_physpages.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jiang Liu 2013-07-03 15:03:44 -07:00 коммит произвёл Linus Torvalds
Родитель 0ed5fd1385
Коммит e461d627d5
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -763,10 +763,6 @@ EXPORT_SYMBOL_GPL(restore_online_page_callback);
void __online_page_set_limits(struct page *page) void __online_page_set_limits(struct page *page)
{ {
unsigned long pfn = page_to_pfn(page);
if (pfn >= num_physpages)
num_physpages = pfn + 1;
} }
EXPORT_SYMBOL_GPL(__online_page_set_limits); EXPORT_SYMBOL_GPL(__online_page_set_limits);