• J
    x86/paravirt/xen: Remove xen_patch() · edcb5cf8
    Juergen Gross 提交于
    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: NJuergen Gross <jgross@suse.com>
    Reviewed-by: NJosh 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: NIngo Molnar <mingo@kernel.org>
    edcb5cf8
xen-asm_64.S 2.7 KB