From: Avi Kivity Date: Thu, 21 Jan 2010 13:31:51 +0000 (+0200) Subject: KVM: Optimize kvm_read_cr[04]_bits() X-Git-Tag: v2.6.34-rc1~193^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae099127668de80e4babba73bb492740ce3a1be;p=pandora-kernel.git KVM: Optimize kvm_read_cr[04]_bits() 'mask' is always a constant, so we can check whether it includes a bit that might be owned by the guest very cheaply, and avoid the decache call. Saves a few hundred bytes of module text. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed