On 2014-04-03 23:05, Gabriel L. Somlo wrote: > Signed-off-by: Gabriel Somlo <so...@cmu.edu> > --- > > Jan, > > Apparently this is needed to build the latest kvm git on 3.13 kernels > (e.g., Fedora 20, in my case). > > Thanks, > Gabriel > > x86/external-module-compat.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h > index d5e7269..3c41c74 100644 > --- a/x86/external-module-compat.h > +++ b/x86/external-module-compat.h > @@ -228,6 +228,10 @@ static inline int rdmsrl_safe(unsigned msr, unsigned > long long *p) > #define MSR_K8_INT_PENDING_MSG 0xc0010055 > #endif > > +#ifndef X86_FEATURE_CLFLUSH > +#define X86_FEATURE_CLFLUSH (0*32+19) > +#endif > + > #ifndef X86_FEATURE_FXSR_OPT > #define X86_FEATURE_FXSR_OPT (1*32+25) > #endif >
Thanks, applied. Jan
signature.asc
Description: OpenPGP digital signature