diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 00:54:36 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:40 -0800 |
commit | e119d117a1d16e71876144188c0e0b3ecb8aeede (patch) | |
tree | 54c1ba0f055ea4c7aa306fb9f4563b1ad96f019d /fs/bfs | |
parent | a0610ddf6be6465049a5da448d7e6c5e821240e6 (diff) |
[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/bfs')
0 files changed, 0 insertions, 0 deletions