x86, kvm: Fix intialization warnings in kvm.c
authorAlok N Kataria <akataria@vmware.com>
Tue, 29 Jan 2013 02:59:12 +0000 (18:59 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Jan 2013 08:13:49 +0000 (09:13 +0100)
commit3b4a505821615b6c055536a0c23ea37c349bb6a9
tree58caccc02e664ab4dea0a8000db1752e15c376b5
parent5ca72c4f7c412c2002363218901eba5516c476b1
x86, kvm: Fix intialization warnings in kvm.c

With commit:

  4cca6ea04d31 ("x86/apic: Allow x2apic without IR on VMware platform")

we started seeing "incompatible initialization" warning messages,
since x2apic_available() expects a bool return type while
kvm_para_available() returns an int.

Reported by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Alok N Kataria <akataria@vmware.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/kvm_para.h