xen/p2m: m2p_find_override: use list_for_each_entry_safe
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 27 Mar 2012 13:52:44 +0000 (14:52 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 17 Apr 2012 17:27:28 +0000 (13:27 -0400)
commitb960d6c43a63ebd2d8518b328da3816b833ee8cc
tree52ea6882e9b0c0fb3be12d348e730065f5b609d1
parente8e937be971d706061dc56220ff3605ab77622a7
xen/p2m: m2p_find_override: use list_for_each_entry_safe

Use list_for_each_entry_safe and remove the spin_lock acquisition in
m2p_find_override.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c