summaryrefslogtreecommitdiffstats
path: root/rtemsbsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-17 11:48:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-19 14:51:53 +0100
commit13c409362d10bb5a570e23966581f77f6e540dbd (patch)
treead1f320598a2aeec4daf102029828bc4f089f915 /rtemsbsd
parentZONE(9): Avoid function call overhead (diff)
downloadrtems-libbsd-13c409362d10bb5a570e23966581f77f6e540dbd.tar.bz2
ehci_mpc83xx.c: Fix for qoriq hypervisor guest
Diffstat (limited to 'rtemsbsd')
-rw-r--r--rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c b/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
index bde80076..2b488a22 100644
--- a/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
+++ b/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
@@ -34,7 +34,8 @@
#include <bsp.h>
-#if defined(__GEN83xx_BSP_h) || defined(LIBBSP_POWERPC_QORIQ_BSP_H)
+#if defined(__GEN83xx_BSP_h) || (defined(LIBBSP_POWERPC_QORIQ_BSP_H) && \
+ !defined(QORIQ_IS_HYPERVISOR_GUEST))
#include <bsp/irq.h>
#include <bsp/utility.h>