summaryrefslogtreecommitdiff
path: root/plat/common/plat_gicv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common/plat_gicv3.c')
-rw-r--r--plat/common/plat_gicv3.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/plat/common/plat_gicv3.c b/plat/common/plat_gicv3.c
index 249caf8e..c961d629 100644
--- a/plat/common/plat_gicv3.c
+++ b/plat/common/plat_gicv3.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -186,6 +186,11 @@ uint32_t plat_interrupt_type_to_line(uint32_t type,
#pragma weak plat_ic_acknowledge_interrupt
#pragma weak plat_ic_end_of_interrupt
+/* In AArch32, the secure group1 interrupts are targeted to Secure PL1 */
+#ifdef AARCH32
+#define IS_IN_EL1() IS_IN_SECURE()
+#endif
+
/*
* This function returns the highest priority pending interrupt at
* the Interrupt controller