On Mon, Mar 15, 2010 at 05:29:09PM +0800, Gui Jianfeng wrote:
Make use of bool as return values, and remove some useless
bool value converting. Thanks Avi to point this out.
Signed-off-by: Gui Jianfeng guijianf...@cn.fujitsu.com
Applied, thanks.
--
To unsubscribe from this list: send the
Make use of bool as return valuses.
Signed-off-by: Gui Jianfeng guijianf...@cn.fujitsu.com
---
arch/x86/kvm/vmx.c | 72 ++--
1 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index
On 03/15/2010 10:23 AM, Gui Jianfeng wrote:
Make use of bool as return valuses.
-static inline int cpu_has_vmx_tpr_shadow(void)
+static inline bool cpu_has_vmx_tpr_shadow(void)
{
- return vmcs_config.cpu_based_exec_ctrl CPU_BASED_TPR_SHADOW;
+ return
Make use of bool as return values, and remove some useless
bool value converting. Thanks Avi to point this out.
Signed-off-by: Gui Jianfeng guijianf...@cn.fujitsu.com
---
arch/x86/kvm/vmx.c | 54 ++--
1 files changed, 27 insertions(+), 27