From dab7ffbab41ba7e9d3f837fc9784d1c578095a19 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 8 Apr 2024 20:08:19 +0000 Subject: [PATCH] Fix misplaced END() macro. ok kettenis@ --- sys/arch/sparc64/sparc64/locore.s | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index e3d67e37e29..79992af2234 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.220 2024/04/08 20:07:53 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.221 2024/04/08 20:08:19 miod Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -6424,9 +6424,7 @@ ENTRY(longjmp) ret restore %i2, 0, %o0 END(longjmp) -#endif /* DDB */ -#ifdef DDB /* * Debug stuff. Dump the trap registers into buffer & set tl=0. * @@ -6490,6 +6488,7 @@ ENTRY(restoretstate) 2: retl wrpr %o0, 0, %tl +END(restoretstate) /* * Switch to context in %o0 @@ -6508,7 +6507,6 @@ ENTRY(switchtoctx) retl nop END(switchtoctx) -END(restoretstate) #endif /* DDB */ /* DDB */ -- 2.20.1