[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v8 7/7] xen/arm: use alt_instructions_, trampoline_rel_start_, start_vpci_array_, and more



>>> On 16.01.19 at 00:35, <sstabellini@xxxxxxxxxx> 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
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.