diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-30 10:20:22 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-30 10:20:22 +0000 |
commit | e5ce914e570e319bc1f1b3ef33504a1af6407b38 (patch) | |
tree | 12fb640cbfde1e6dd5017878ced9f434bbba7390 /sys/arch | |
parent | 6866d6c85bdb5a3d7a90cf0310589347454aac92 (diff) |
Add intr_enable() here as well.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm64/include/cpu.h | 8 |
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) { |