From: Takuya Yoshikawa Date: Thu, 30 Jun 2011 16:34:56 +0000 (+0900) Subject: KVM: MMU: Clean up the error handling of walk_addr_generic() X-Git-Tag: v3.1-rc1~264^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134291bf3cb434a9039298ba6b15ef33e65ba542;p=pandora-kernel.git 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 Signed-off-by: Takuya Yoshikawa Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed