summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-05-04 16:18:36 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-05-04 16:18:36 +0000
commit641ced0676ac1e1a7e6ab2237832a55f8e4051da (patch)
tree1d6ef866a4f6e2a0a321dc26b30bb7ba8e721271 /sys/arch/arm64
parent00934ba0803bbb5eadd20158810181ee955c4182 (diff)
Remove some junk that we don't use.
ok patrick@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/include/asm.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/arm64/include/asm.h b/sys/arch/arm64/include/asm.h
index 874625d4430..c970de2a680 100644
--- a/sys/arch/arm64/include/asm.h
+++ b/sys/arch/arm64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.5 2018/09/07 01:32:01 mortimer Exp $ */
+/* $OpenBSD: asm.h,v 1.6 2019/05/04 16:18:35 kettenis Exp $ */
/* $NetBSD: asm.h,v 1.4 2001/07/16 05:43:32 matt Exp $ */
/*
@@ -172,15 +172,4 @@
.stabs __STRING(_/**/sym),1,0,0,0
#endif /* __STDC__ */
-
-/*
- * Sets the trap fault handler. The exception handler will return to the
- * address in the handler register on a data abort or the xzr register to
- * clear the handler. The tmp parameter should be a register able to hold
- * the temporary data.
- */
-#define SET_FAULT_HANDLER(handler, tmp) \
- ldr tmp, [x18, #CI_CURPCB]; /* Load the pcb */ \
- str handler, [tmp, #PCB_ONFAULT] /* Set the handler */
-
#endif /* !_MACHINE_ASM_H_ */