Marcelo Tosatti wrote: > Oops! > > Updated patch: > > >
Applied, thanks. > #define PT_LEVEL_BITS PT64_LEVEL_BITS > #ifdef CONFIG_X86_64 > #define PT_MAX_FULL_LEVELS 4 > + #define CMPXCHG cmpxchg > #else > + #define CMPXCHG cmpxchg64 > #define PT_MAX_FULL_LEVELS 2 > #endif > I updated the #undef block at the end of paging_tmpl.h to account for the new define, otherwise it wouldn't compile cleanly on i386 due to CMPXCHG being redefined. I picked up the patch description and signoff from the first version of this patch, but please keep them with the patch next time. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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://sourceforge.net/services/buy/index.php _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel