Module Name: src Committed By: skrll Date: Thu Apr 1 12:09:40 UTC 2010
Modified Files: src/sys/arch/hppa/hppa: vm_machdep.c Log Message: Small simplification To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 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.42 src/sys/arch/hppa/hppa/vm_machdep.c:1.43 --- src/sys/arch/hppa/hppa/vm_machdep.c:1.42 Tue Mar 16 16:20:19 2010 +++ src/sys/arch/hppa/hppa/vm_machdep.c Thu Apr 1 12:09:39 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: vm_machdep.c,v 1.42 2010/03/16 16:20:19 skrll Exp $ */ +/* $NetBSD: vm_machdep.c,v 1.43 2010/04/01 12:09:39 skrll 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.42 2010/03/16 16:20:19 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.43 2010/04/01 12:09:39 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -60,7 +60,7 @@ struct pcb *pcb = lwp_getpcb(l); #ifdef DIAGNOSTIC vaddr_t uarea = (vaddr_t)pcb; - vaddr_t maxsp = (vaddr_t)pcb + USPACE; + vaddr_t maxsp = uarea + USPACE; #endif KASSERT(tf == (void *)(uarea + PAGE_SIZE));