Re: [PATCH 1/3] paravirt,xen: remove xen_patch()

From: Josh Poimboeuf
Date: Thu Aug 10 2017 - 12:29:42 EST


On Thu, Aug 10, 2017 at 02:52:52PM +0200, 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 patches inline, so the special case never applies.
>
> As xen_patch() will call paravirt_patch_default() in all cases it can
> be just dropped.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Can the ENDPATCH and RELOC macros can also be removed, along with their
usages in xen-asm.S and xen-asm_64.S?

--
Josh