From: Gleb Natapov Date: Mon, 4 Feb 2013 14:00:28 +0000 (+0200) Subject: KVM: VMX: cleanup vmx_set_cr0(). X-Git-Tag: v3.9-rc1~97^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5037878e2223278aa627162aa0bf106dffac19d4;p=pandora-kernel.git KVM: VMX: cleanup vmx_set_cr0(). When calculating hw_cr0 teh current code masks bits that should be always on and re-adds them back immediately after. Cleanup the code by masking only those bits that should be dropped from hw_cr0. This allow us to get rid of some defines. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed