Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[.joined/src/trunk]: .joined/src/sys/arch/hppa/hppa make this compile again b...
details: https://anonhg.NetBSD.org/.joined/src/rev/8256fcbd6389
branches: trunk
changeset: 359365:8256fcbd6389
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Jan 01 01:03:50 2022 +0000
description:
make this compile again by moving a KASSERT into the #ifdef DIAGNOSTIC block
it depends on
diffstat:
sys/arch/hppa/hppa/vm_machdep.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 8e343f2a3da5 -r 8256fcbd6389 sys/arch/hppa/hppa/vm_machdep.c
--- a/sys/arch/hppa/hppa/vm_machdep.c Fri Dec 31 20:38:08 2021 +0000
+++ b/sys/arch/hppa/hppa/vm_machdep.c Sat Jan 01 01:03:50 2022 +0000
@@ -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 @@
#ifdef DIAGNOSTIC
vaddr_t uarea = (vaddr_t)pcb;
vaddr_t maxsp = uarea + USPACE;
+ KASSERT(tf == (void *)(uarea + PAGE_SIZE));
#endif
- KASSERT(tf == (void *)(uarea + PAGE_SIZE));
-
/*
* Stash the physical address of FP regs for later perusal
*/
Home |
Main Index |
Thread Index |
Old Index