Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap s/0/KERNEL_PID/ for correctness
details: https://anonhg.NetBSD.org/src/rev/e7208b1785cd
branches: trunk
changeset: 333319:e7208b1785cd
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Oct 29 10:53:41 2014 +0000
description:
s/0/KERNEL_PID/ for correctness
diffstat:
sys/uvm/pmap/pmap_tlb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2cf65703a6f3 -r e7208b1785cd sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c Wed Oct 29 10:47:46 2014 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c Wed Oct 29 10:53:41 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_tlb.c,v 1.9 2014/10/18 09:54:19 skrll Exp $ */
+/* $NetBSD: pmap_tlb.c,v 1.10 2014/10/29 10:53:41 skrll Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.9 2014/10/18 09:54:19 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.10 2014/10/29 10:53:41 skrll Exp $");
/*
* Manages address spaces in a TLB.
@@ -935,7 +935,7 @@
#endif
curcpu()->ci_pmap_asid_cur = 0;
UVMHIST_LOG(maphist, " <-- done (pm=%#x)", pm, 0, 0, 0);
- tlb_set_asid(0);
+ tlb_set_asid(KERNEL_PID);
#if defined(DEBUG)
pmap_tlb_asid_check();
#endif
Home |
Main Index |
Thread Index |
Old Index