]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/vfio: Allow EEH to be built as module
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 8 Aug 2014 16:37:51 +0000 (10:37 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 8 Aug 2014 16:37:51 +0000 (10:37 -0600)
commite15dca66c2bc5f1db771fbdc3342855c5141f845
tree57df880ed2c51d04da1d6c98a4be5a7fc1efc3bd
parent69da3c72fee066bcaeee1011bd5b0854ccb01081
drivers/vfio: Allow EEH to be built as module

This adds necessary declarations to the SPAPR VFIO EEH module,
otherwise multiple dynamic linker errors reported:

vfio_spapr_eeh: Unknown symbol eeh_pe_set_option (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_configure (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_reset (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_get_state (err 0)
vfio_spapr_eeh: Unknown symbol eeh_iommu_group_to_pe (err 0)
vfio_spapr_eeh: Unknown symbol eeh_dev_open (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_set_option (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_configure (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_reset (err 0)
vfio_spapr_eeh: Unknown symbol eeh_pe_get_state (err 0)
vfio_spapr_eeh: Unknown symbol eeh_iommu_group_to_pe (err 0)
vfio_spapr_eeh: Unknown symbol eeh_dev_open (err 0)

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_spapr_eeh.c