diff options
author | 2012-02-08 12:59:10 +0900 | |
---|---|---|
committer | 2012-03-08 14:10:19 +0200 | |
commit | fb03cb6f44236f4bef62a0dda8e025ff5ca51417 (patch) | |
tree | fdece464add97210435bb4d778f7b09a852f61e3 /lib/dma-debug.c | |
parent | KVM: s390: provide control registers via kvm_run (diff) | |
download | linux-rng-fb03cb6f44236f4bef62a0dda8e025ff5ca51417.tar.xz linux-rng-fb03cb6f44236f4bef62a0dda8e025ff5ca51417.zip |
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions