summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2017-08-05 17:30:51 +0000
committerdrahn <drahn@openbsd.org>2017-08-05 17:30:51 +0000
commite5fe02723ba612ac46680ecd2be55e4da63d1cdc (patch)
tree920b9558d412d5c12975b37df42ec5cd9bca1372
parentWe only support ASCII and UTF-8, so we never need to (diff)
downloadwireguard-openbsd-e5fe02723ba612ac46680ecd2be55e4da63d1cdc.tar.xz
wireguard-openbsd-e5fe02723ba612ac46680ecd2be55e4da63d1cdc.zip
Do not enable fpu until after AST state is checked and processed.
ok kettenis@
-rw-r--r--sys/arch/arm64/arm64/exception.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/exception.S b/sys/arch/arm64/arm64/exception.S
index ab68e5b9ecb..4cee76ac4a3 100644
--- a/sys/arch/arm64/arm64/exception.S
+++ b/sys/arch/arm64/arm64/exception.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: exception.S,v 1.3 2017/02/19 19:42:40 patrick Exp $ */
+/* $OpenBSD: exception.S,v 1.4 2017/08/05 17:30:51 drahn Exp $ */
/*-
* Copyright (c) 2014 Andrew Turner
* All rights reserved.
@@ -159,8 +159,8 @@ handle_el0_sync:
save_registers 0
mov x0, sp
bl do_el0_sync
- bl _C_LABEL(vfp_enable)
do_ast
+ bl _C_LABEL(vfp_enable)
restore_registers 0
eret
@@ -169,8 +169,8 @@ handle_el0_irq:
bl _C_LABEL(vfp_save)
mov x0, sp
bl arm_cpu_intr
- bl _C_LABEL(vfp_enable)
do_ast
+ bl _C_LABEL(vfp_enable)
restore_registers 0
eret