Carlo Marcelo Arenas Belon wrote:
> The following patch fixes building the kvm module for kernels older than
> 2.6.21 and which were missing an include to <asm/apicdef.h> in <asm/io_apic.h>
> resulting in the following error :
>     
>   include/asm/io_apic.h:61: error: 'MAX_IO_APICS' undeclared here (not in a 
> function)
>
>   

Do all kernels/arches have this file?  maybe a #ifndef/#define/#endif 
sequence is better here.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to