From 41e935544961ef41fa59e2c78fb6c31dfdcaecbe Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 30 Mar 2024 07:45:22 +0000 Subject: Bring back an inline db_enter(), which makes backtraces easier to grok when sh*t hits the fan; per kettenis@ request and forgotten in previous cleaning commit. --- sys/arch/sparc64/sparc64/pmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc64') diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index c7702065296..50c0a8fe975 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.116 2024/03/29 21:27:53 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.117 2024/03/30 07:45:21 miod Exp $ */ /* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */ /* * @@ -51,6 +51,7 @@ #ifdef DDB #include #include +#define db_enter() __asm volatile("ta 1; nop") #else #define db_enter() #endif -- cgit v1.2.3