From e5ce914e570e319bc1f1b3ef33504a1af6407b38 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 30 Jun 2018 10:20:22 +0000 Subject: Add intr_enable() here as well. --- sys/arch/arm64/include/cpu.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 * @@ -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) { -- cgit v1.2.3