]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Eliminate pointless temporary 'ac'
authorAvi Kivity <avi@redhat.com>
Wed, 19 Sep 2012 16:33:48 +0000 (19:33 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 20 Sep 2012 10:00:10 +0000 (13:00 +0300)
commitfd3b32c669909c023b44370502aa1a8c114c136c
tree313fee0269d75f0dd5146762dd32c78b8ced4f75
parent29080a55324489eb1c77ff9558844df3f6c37ac6
KVM: MMU: Eliminate pointless temporary 'ac'

'ac' essentially reconstructs the 'access' variable we already
have, except for the PFERR_PRESENT_MASK and PFERR_RSVD_MASK.  As
these are not used by callees, just use 'access' directly.

Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h