[rtems-libbsd commit] ehci_mpc83xx.c: Fix for qoriq hypervisor guest

Sebastian Huber sebh at rtems.org
Fri Jan 19 13:52:14 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    13c409362d10bb5a570e23966581f77f6e540dbd
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=13c409362d10bb5a570e23966581f77f6e540dbd

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jan 17 11:48:36 2018 +0100

ehci_mpc83xx.c: Fix for qoriq hypervisor guest

---

 rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c b/rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
index bde8007..2b488a2 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>




More information about the vc mailing list