aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/include/arch/amd64/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/cpu.h b/sys/include/arch/amd64/cpu.h
index 7186a5f..e2ed851 100644
--- a/sys/include/arch/amd64/cpu.h
+++ b/sys/include/arch/amd64/cpu.h
@@ -95,7 +95,7 @@ amd64_is_intr_mask(void)
uint64_t flags;
__ASMV("pushfq; pop %0" : "=rm" (flags) :: "memory");
- return __TEST(flags, 1 << 9);
+ return !__TEST(flags, 1 << 9);
}
static inline void