Zhao, Yunfeng wrote:
>
> I met an error when i build latest KVM on rhel5.
>
> Seems asm/cmpxchg.h is not in the kernel before 2.6.22.
>
> How can I fix the issue?
>
>  
>

Add a kernel/include/linux/asm/cmpxchg.h, which defines set_64bit() for
both i386 and x86_64.



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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to