Module Name: src Committed By: macallan Date: Sat Jan 1 01:03:50 UTC 2022
Modified Files: src/sys/arch/hppa/hppa: vm_machdep.c Log Message: make this compile again by moving a KASSERT into the #ifdef DIAGNOSTIC block it depends on To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/hppa/hppa/vm_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hppa/hppa/vm_machdep.c diff -u src/sys/arch/hppa/hppa/vm_machdep.c:1.55 src/sys/arch/hppa/hppa/vm_machdep.c:1.56 --- src/sys/arch/hppa/hppa/vm_machdep.c:1.55 Mon Apr 15 06:16:42 2019 +++ src/sys/arch/hppa/hppa/vm_machdep.c Sat Jan 1 01:03:50 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: vm_machdep.c,v 1.55 2019/04/15 06:16:42 skrll Exp $ */ +/* $NetBSD: vm_machdep.c,v 1.56 2022/01/01 01:03:50 macallan Exp $ */ /* $OpenBSD: vm_machdep.c,v 1.64 2008/09/30 18:54:26 miod Exp $ */ @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.55 2019/04/15 06:16:42 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.56 2022/01/01 01:03:50 macallan Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -62,9 +62,8 @@ cpu_activate_pcb(struct lwp *l) #ifdef DIAGNOSTIC vaddr_t uarea = (vaddr_t)pcb; vaddr_t maxsp = uarea + USPACE; -#endif KASSERT(tf == (void *)(uarea + PAGE_SIZE)); - +#endif /* * Stash the physical address of FP regs for later perusal */