Module Name: src Committed By: skrll Date: Sat Nov 28 13:53:29 UTC 2009
Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: Flush only as much as is required. Pointed out by rmind. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/hppa/hppa/pmap.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/pmap.c diff -u src/sys/arch/hppa/hppa/pmap.c:1.59 src/sys/arch/hppa/hppa/pmap.c:1.60 --- src/sys/arch/hppa/hppa/pmap.c:1.59 Fri Nov 27 03:23:09 2009 +++ src/sys/arch/hppa/hppa/pmap.c Sat Nov 28 13:53:28 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.59 2009/11/27 03:23:09 rmind Exp $ */ +/* $NetBSD: pmap.c,v 1.60 2009/11/28 13:53:28 skrll Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.59 2009/11/27 03:23:09 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.60 2009/11/28 13:53:28 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1681,7 +1681,7 @@ /* space is cached for the copy{in,out}'s pleasure */ pcb->pcb_space = space; - fdcache(HPPA_SID_KERNEL, (vaddr_t)pcb, PAGE_SIZE); + fdcache(HPPA_SID_KERNEL, (vaddr_t)pcb, sizeof(struct pcb)); if (p == curproc) mtctl(pmap->pm_pid, CR_PIDR2);