mm/memory_hotplug.c: use pfn_to_nid() instead of page_to_nid(pfn_to_page())
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 12 Nov 2013 23:07:21 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:04 +0000 (12:09 +0900)
commit9c2606b77d6bffb422928bca66c8dc84d85089be
treece40c1b6ac3b167b7d803d142ec1ee73bfd78a11
parentd6de9d5349db61e134ab7fb6b2436a4c7938714c
mm/memory_hotplug.c: use pfn_to_nid() instead of page_to_nid(pfn_to_page())

Use "pfn_to_nid(pfn)" instead of "page_to_nid(pfn_to_page(pfn))".

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Acked-by: 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>
mm/memory_hotplug.c