KAMEZAWA Hiroyuki f8f72ad539 mm: fix return value of scan_lru_pages in memory unplug
scan_lru_pages returns pfn. So, it's type should be "unsigned long"
not "int".

Note: I guess this has been work until now because memory hotplug tester's
      machine has not very big memory....
      physical address < 32bit << PAGE_SHIFT.

Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-26 16:52:03 -07:00
..
2009-04-01 08:59:13 -07:00
2010-08-08 21:57:23 +01:00
2010-10-04 11:09:53 -07:00
2009-09-22 07:17:35 -07:00
2010-10-11 16:57:39 +02:00
2010-05-25 08:06:58 -07:00
2010-09-09 09:05:06 -07:00
2010-03-24 16:31:21 -07:00
2010-05-21 18:31:21 -04:00
2010-08-21 08:49:21 -07:00
2007-10-20 01:27:18 +02:00
2010-05-25 08:07:00 -07:00
2010-10-06 21:16:42 +03:00
2010-05-25 15:06:06 +02:00
2009-06-23 12:50:05 -07:00
2010-10-24 10:51:24 +02:00