summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kprobes.c
diff options
context:
space:
mode:
authorRussell Currey2016-06-17 07:25:17 +0200
committerMichael Ellerman2016-06-17 08:52:22 +0200
commitfb36e90736938d50fdaa1be7afdb21608d402c2b (patch)
treef025278d36beeb21435d0819c46bbbf00c6ca694 /arch/powerpc/kernel/kprobes.c
parentcxl: Make vPHB device node match adapter's (diff)
downloadkernel-qcow2-linux-fb36e90736938d50fdaa1be7afdb21608d402c2b.tar.gz
kernel-qcow2-linux-fb36e90736938d50fdaa1be7afdb21608d402c2b.tar.xz
kernel-qcow2-linux-fb36e90736938d50fdaa1be7afdb21608d402c2b.zip
powerpc/pci: Fix SRIOV not building without EEH enabled
On Book3E CPUs (and possibly other configs), it is possible to have SRIOV (CONFIG_PCI_IOV) set without CONFIG_EEH. The SRIOV code does not check for this, and if EEH is disabled, pci_dn.c fails to build. Fix this by gating the EEH-specific code in the SRIOV implementation behind CONFIG_EEH. Fixes: 39218cd0 ("powerpc/eeh: EEH device for VF") Reported-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions