[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] xen/x86: Helpers for cpu feature manipuation
>>> On 26.10.15 at 12:17, <andrew.cooper3@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/cpu/common.c > +++ b/xen/arch/x86/cpu/common.c > @@ -202,7 +202,7 @@ static void __init early_cpu_detect(void) > c->x86_mask = tfms & 15; > cap0 &= ~cleared_caps[0]; > cap4 &= ~cleared_caps[4]; > - if (cap0 & (1<<19)) > + if (cap0 & cpufeat_mask(X86_FEATURE_CLFLSH)) This one's particularly well spotted! Thanks! Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |