diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 11:54:36 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 20:48:40 +0300 |
commit | e119d117a1d16e71876144188c0e0b3ecb8aeede (patch) | |
tree | 54c1ba0f055ea4c7aa306fb9f4563b1ad96f019d /fs/nfs_common | |
parent | a0610ddf6be6465049a5da448d7e6c5e821240e6 (diff) | |
download | linux-e119d117a1d16e71876144188c0e0b3ecb8aeede.tar.xz |
[PATCH] kvm: Fix gva_to_gpa()
gva_to_gpa() needs to be updated to the new walk_addr() calling convention,
otherwise it may oops under some circumstances.
Use the opportunity to remove all the code duplication in gva_to_gpa(), which
essentially repeats the calculations in walk_addr().
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions