Zhang, Xiantao wrote:
> Avi Kivity wrote:
>   
>> Zhang, Xiantao wrote:
>>     
>>> From: Zhang Xiantao <[EMAIL PROTECTED]>
>>> Date: Thu, 29 Nov 2007 18:17:13 +0800
>>> Subject: [PATCH] Clearing up the difference of ioapic and iosapic
>>> Since IA64 uses iosapic, we want to merget it with current ioapic
>>> code. This patch should make x86 and IA64 happy.
>>> Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> ---
>>>  drivers/kvm/ioapic.c |   26 +++++++++++++-------------
>>>  drivers/kvm/irq.h    |    5 +++--
>>>  drivers/kvm/lapic.c  |   23 ++++++++++++++++++-----
>>>  3 files changed, 34 insertions(+), 20 deletions(-)
>>>
>>> diff --git a/drivers/kvm/ioapic.c b/drivers/kvm/ioapic.c
>>> index cf1d50b..79c48ec 100644
>>> --- a/drivers/kvm/ioapic.c
>>> +++ b/drivers/kvm/ioapic.c
>>> @@ -36,11 +36,8 @@
>>>  #include <asm/page.h>
>>>  #include <asm/current.h>
>>> -#include <asm/apicdef.h>
>>> -#include <asm/io_apic.h>
>>>
>>>       
>> This will break compilation under certain .configs.
>>
>> Other than that, the patch is good.
>>     
>
> Can we use the compile option CONFIG_X86 to handle it ? 
> Xiantao 
>   

Sure.

But where does ia64 get its ioapic defines then?  Things like
dest_Fixed, I grepped for them in include/asm-ia64 but didn't find them.

Maybe an include/asm-ia64/io_apic.h can provide them?

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to