• Paolo Bonzini's avatar
    KVM: vmx: rename pi_init to avoid conflict with paride · a3ff25fc
    Paolo Bonzini authored
    allyesconfig results in:
    
    ld: drivers/block/paride/paride.o: in function `pi_init':
    (.text+0x1340): multiple definition of `pi_init'; arch/x86/kvm/vmx/posted_intr.o:posted_intr.c:(.init.text+0x0): first defined here
    make: *** [Makefile:1164: vmlinux] Error 1
    
    because commit:
    
    commit 8888cdd0
    Author: Xiaoyao Li <xiaoyao.li@intel.com>
    Date:   Wed Sep 23 11:31:11 2020 -0700
    
        KVM: VMX: Extract posted interrupt support to separate files
    
    added another pi_init(), though one already existed in the paride code.
    Reported-by: default avatarJens Axboe <axboe@kernel.dk>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    a3ff25fc
posted_intr.h 2.39 KB