From: Takuya Yoshikawa Date: Wed, 8 Feb 2012 03:59:10 +0000 (+0900) Subject: KVM: Introduce gfn_to_index() which returns the index for a given level X-Git-Tag: v3.4-rc1~59^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb03cb6f44236f4bef62a0dda8e025ff5ca51417;p=pandora-kernel.git KVM: Introduce gfn_to_index() which returns the index for a given level This patch cleans up the code and removes the "(void)level;" warning suppressor. Note that we can also use this for PT_PAGE_TABLE_LEVEL to treat every level uniformly later. Signed-off-by: Takuya Yoshikawa Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed