From: Avi K. <av...@qu...> - 2007-06-01 06:29:28
|
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. |