summaryrefslogtreecommitdiff
path: root/src/dev/arm/gic_v2.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/gic_v2.hh')
-rw-r--r--src/dev/arm/gic_v2.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/arm/gic_v2.hh b/src/dev/arm/gic_v2.hh
index c9c1a4715..4afad89f6 100644
--- a/src/dev/arm/gic_v2.hh
+++ b/src/dev/arm/gic_v2.hh
@@ -336,7 +336,7 @@ class GicV2 : public BaseGic, public BaseGicRegisters
bool isGroup0(ContextID ctx, uint32_t int_num) {
const uint32_t group_reg = getIntGroup(ctx, intNumToWord(int_num));
- return bits(group_reg, intNumToBit(int_num));
+ return !bits(group_reg, intNumToBit(int_num));
}
/**