summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm64/include/cpu.h')
-rw-r--r--sys/arch/arm64/include/cpu.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/cpu.h b/sys/arch/arm64/include/cpu.h
index cbfccc231d3..9c7f1549836 100644
--- a/sys/arch/arm64/include/cpu.h
+++ b/sys/arch/arm64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.8 2018/06/28 21:19:45 kettenis Exp $ */
+/* $OpenBSD: cpu.h,v 1.9 2018/06/30 10:20:21 kettenis Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
*
@@ -282,6 +282,12 @@ disable_irq_daif_ret()
#define restore_interrupts(old_daif) \
restore_daif(old_daif)
+static inline void
+intr_enable(void)
+{
+ enable_irq_daif();
+}
+
static inline u_long
intr_disable(void)
{