[rtems commit] bsp/qoriq: Fix bsp_fdt_map_intr()
Sebastian Huber
sebh at rtems.org
Mon Jan 22 09:38:59 UTC 2018
Module: rtems
Branch: master
Commit: 81eced537616127cc9ce38a876fdadefc278493d
Changeset: http://git.rtems.org/rtems/commit/?id=81eced537616127cc9ce38a876fdadefc278493d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jan 15 13:54:45 2018 +0100
bsp/qoriq: Fix bsp_fdt_map_intr()
Update #3085.
---
c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
index 4815b4e..9475c6f 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
@@ -179,5 +179,9 @@ void bsp_start(void)
uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)
{
+#ifndef QORIQ_IS_HYPERVISOR_GUEST
return intr[0] - 16;
+#else
+ return intr[0];
+#endif
}
More information about the vc
mailing list