Re: [PATCH v2 1/2] paravirt,xen: remove xen_patch()
From: Boris Ostrovsky
Date: Fri Aug 18 2017 - 09:23:06 EST
On 08/16/2017 01:31 PM, Juergen Gross wrote:
> Xen's paravirt patch function xen_patch() does some special casing for
> irq_ops functions to apply relocations when those functions can be
> patched inline instead of calls.
>
> Unfortunately none of the special case function replacements is small
> enough to be patched inline, so the special case never applies.
>
> As xen_patch() will call paravirt_patch_default() in all cases it can
> be just dropped. xen-asm.h doesn't seem necessary without xen_patch()
> as the only thing left in it would be the definition of XEN_EFLAGS_NMI
> used only once. So move that definition and remove xen-asm.h.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Applied to for-linus-4.14
-boris