From: miod Date: Sat, 30 Mar 2024 07:45:21 +0000 (+0000) Subject: Bring back an inline db_enter(), which makes backtraces easier to grok X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=70cb4862e59d45397c6b7026b4f41fe33cf582ae;p=openbsd 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. --- 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