>>> On 16.01.19 at 00:35, <[email protected]> wrote:
> @@ -273,7 +273,8 @@ static int __init nmi_apply_alternatives(const struct 
> cpu_user_regs *regs,
>          /* Disable WP to allow patching read-only pages. */
>          write_cr0(cr0 & ~X86_CR0_WP);
>  
> -        apply_alternatives(__alt_instructions, __alt_instructions_end);
> +        apply_alternatives((struct alt_instr *)alt_instructions_,
> +                           (struct alt_instr *)alt_instructions_end_);

Such addition of casts is exactly what I'd like to avoid.

As an aside - the title surely was meant to start with "xen/x86:"?

Jan



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to