From: Avi Kivity Date: Thu, 25 Dec 2008 12:39:47 +0000 (+0200) Subject: KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to walk_shadow() X-Git-Tag: v2.6.30-rc1~664^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d11123a77e54d5cea262c958e8498f4a08bce3d;p=pandora-kernel.git KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to walk_shadow() Using a for_each loop style removes the need to write callback and nasty casts. Implement the walk_shadow() using the for_each_shadow_entry(). Signed-off-by: Avi Kivity --- Reading git-diff-tree failed