• Juergen Gross's avatar
    x86/paravirt/xen: Remove xen_patch() · edcb5cf8
    Juergen Gross authored
    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: default avatarJuergen Gross <jgross@suse.com>
    Reviewed-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: boris.ostrovsky@oracle.com
    Cc: lguest@lists.ozlabs.org
    Cc: rusty@rustcorp.com.au
    Cc: xen-devel@lists.xenproject.org
    Link: http://lkml.kernel.org/r/20170816173157.8633-2-jgross@suse.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    edcb5cf8
enlighten_pv.c 33.9 KB