diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-17 11:48:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-19 14:51:53 +0100 |
commit | 13c409362d10bb5a570e23966581f77f6e540dbd (patch) | |
tree | ad1f320598a2aeec4daf102029828bc4f089f915 | |
parent | ZONE(9): Avoid function call overhead (diff) | |
download | rtems-libbsd-13c409362d10bb5a570e23966581f77f6e540dbd.tar.bz2 |
ehci_mpc83xx.c: Fix for qoriq hypervisor guest
-rw-r--r-- | rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c | 3 |
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> |