Takuya Yoshikawa fb03cb6f44 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 <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2012-03-08 14:10:19 +02:00
..
2011-12-27 11:22:30 +02:00
2010-10-24 10:53:14 +02:00
2011-12-27 11:23:39 +02:00
2011-07-24 11:50:40 +03:00
2011-12-27 11:17:05 +02:00
2012-03-08 14:10:11 +02:00
2011-12-27 11:21:49 +02:00