summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-06-26 18:55:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-06-26 18:55:21 +0000
commitaf288356a195a6b9427c4daebbdedd9c9b2c71f7 (patch)
tree83d7428df5c60106f4fb2a4e5b59436d47c293bf /sys/arch/hppa
parentf059e2a4f8d2d5cca48c771de46ebce93e33cd4d (diff)
Prefer fdcache() to pdcache() in cpu_fork(), as the MI uvm code has touched
p->p_stats earlier, and loss of information there can cause spurious SIGPROF or SIGVTALRM to be delivered. ok kettenis@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index 6037e11bb8f..b93d42f3102 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.66 2009/06/11 20:10:51 kettenis Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.67 2009/06/26 18:55:20 miod Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
@@ -126,7 +126,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
* allocated cache lines for this new pcb. But for some reason
* that is not the case...
*/
- pdcache(HPPA_SID_KERNEL, pa, PAGE_SIZE);
+ fdcache(HPPA_SID_KERNEL, pa, PAGE_SIZE);
pdtlb(HPPA_SID_KERNEL, pa);
pitlb(HPPA_SID_KERNEL, pa);