diff options
author | 2011-07-01 01:34:56 +0900 | |
---|---|---|
committer | 2011-07-12 13:16:42 +0300 | |
commit | 134291bf3cb434a9039298ba6b15ef33e65ba542 (patch) | |
tree | b4eb6e5dcb032e8bbf499f6692f65e7475c7ca35 /fs/proc/array.c | |
parent | Revert "KVM: MMU: make kvm_mmu_reset_context() flush the guest TLB" (diff) | |
download | wireguard-linux-134291bf3cb434a9039298ba6b15ef33e65ba542.tar.xz wireguard-linux-134291bf3cb434a9039298ba6b15ef33e65ba542.zip |
KVM: MMU: Clean up the error handling of walk_addr_generic()
Avoid two step jump to the error handling part. This eliminates the use
of the variables present and rsvd_fault.
We also use the const type qualifier to show that write/user/fetch_fault
do not change in the function.
Both of these were suggested by Ingo Molnar.
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions