]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: unnecessary NX state assignment
authorDavidlohr Bueso <dave@gnu.org>
Fri, 6 Jan 2012 14:06:18 +0000 (15:06 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:21 +0000 (14:52 +0200)
commit6230f6acd639aa5de3c7ab0e8f9c3667b1c1acb8
tree0b2eeab03edc5d4d3ff3bb61308c32f9060904f8
parentcf8ac7ced44fdaf347a24732b92da46d40673212
KVM: MMU: unnecessary NX state assignment

We can remove the first ->nx state assignment since it is assigned afterwards anyways.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c