>>> On 26.10.15 at 12:17, <andrew.coop...@citrix.com> 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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to