diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index f0646d0c329d..921d07f4ef7a 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.312 2020/03/14 14:05:43 ad Exp $ */ +/* $NetBSD: pmap.c,v 1.313 2022/01/01 11:56:15 hannken Exp $ */ /* * * Copyright (C) 1996-1999 Eduardo Horvath. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.312 2020/03/14 14:05:43 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.313 2022/01/01 11:56:15 hannken Exp $"); #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ #define HWREF @@ -1537,9 +1537,7 @@ pmap_destroy(struct pmap *pm) /* we could be a little smarter and leave pages zeroed */ while ((pg = TAILQ_FIRST(&pm->pm_ptps)) != NULL) { -#ifdef DIAGNOSTIC struct vm_page_md *md = VM_PAGE_TO_MD(pg); -#endif TAILQ_REMOVE(&pm->pm_ptps, pg, pageq.queue); KASSERT(md->mdpg_pvh.pv_pmap == NULL);