diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2008-10-18 20:27:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-18 09:13:41 -0800 |
commit | 42c17dd881fc3ebea2620fe879e18d84f141dd7f (patch) | |
tree | 5762408f80267e8d0bdc45a303d64772dc5553df /drivers/char/xilinx_hwicap/xilinx_hwicap.c | |
parent | 0b634e9caabd8b62d5239b9e374ea00f8186b19d (diff) |
setup_per_zone_pages_min(): take zone->lock instead of zone->lru_lock
commit 1125b4e3949949b44a7c80b619507c6f61d62911 upstream.
This replaces zone->lru_lock in setup_per_zone_pages_min() with zone->lock.
There seems to be no need for the lru_lock anymore, but there is a need for
zone->lock instead, because that function may call move_freepages() via
setup_zone_migrate_reserve().
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Tested-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/xilinx_hwicap/xilinx_hwicap.c')
0 files changed, 0 insertions, 0 deletions