summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-04-08 20:08:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-04-08 20:08:20 +0000
commit0e9f4ea905700047763675a51fb22c0a08b07c7f (patch)
treeca2b09c07fd18f7f4f2f26f5bb1eeefb3516e228 /sys/arch
parentb7de4a2dc9a351e983468226e98827285d9ef110 (diff)
Fix misplaced END() macro.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s6
1 files 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 */