The branch main has been updated by mav:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f0fa40867d1d556ee0400ca6e1483b9ae1a068e2

commit f0fa40867d1d556ee0400ca6e1483b9ae1a068e2
Author:     Alexander Motin <[email protected]>
AuthorDate: 2023-11-10 02:21:47 +0000
Commit:     Alexander Motin <[email protected]>
CommitDate: 2023-11-10 02:21:47 +0000

    Fix build on powerpc after previous commit.
---
 sys/vm/uma_dbg.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys/vm/uma_dbg.c b/sys/vm/uma_dbg.c
index c256e62875c0..2f6360699419 100644
--- a/sys/vm/uma_dbg.c
+++ b/sys/vm/uma_dbg.c
@@ -165,7 +165,11 @@ dopanic:
        off = (uintptr_t)p - (uintptr_t)mem;
        ksp = (struct malloc_type **)mem;
        ksp += size / sizeof(struct malloc_type *);
-       if (*ksp != NULL && INKERNEL((uintptr_t)*ksp)) {
+       if (*ksp != NULL
+#ifdef INKERNEL
+           && INKERNEL((uintptr_t)*ksp)
+#endif
+           ) {
                /*
                 * If *ksp is corrupted we may be unable to panic clean,
                 * so print what we have reliably while we still can.

Reply via email to