Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Use KERNEL_PID instead of 0. NFC.
details: https://anonhg.NetBSD.org/src/rev/228ce46d5a3f
branches: trunk
changeset: 988192:228ce46d5a3f
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 02 13:41:50 2021 +0000
description:
Use KERNEL_PID instead of 0. NFC.
diffstat:
sys/arch/mips/mips/pmap_machdep.c | 6 +++---
sys/arch/powerpc/booke/booke_pmap.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r c8df3c30a05a -r 228ce46d5a3f sys/arch/mips/mips/pmap_machdep.c
--- a/sys/arch/mips/mips/pmap_machdep.c Sat Oct 02 11:01:53 2021 +0000
+++ b/sys/arch/mips/mips/pmap_machdep.c Sat Oct 02 13:41:50 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_machdep.c,v 1.34 2021/03/19 07:51:33 skrll Exp $ */
+/* $NetBSD: pmap_machdep.c,v 1.35 2021/10/02 13:41:50 skrll Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.34 2021/03/19 07:51:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.35 2021/10/02 13:41:50 skrll Exp $");
/*
* Manages physical address maps.
@@ -492,7 +492,7 @@
pool_init(&pmap_pv_pool, sizeof(struct pv_entry), 0, 0, 0, "pvpl",
&pmap_pv_page_allocator, IPL_NONE);
- tlb_set_asid(0);
+ tlb_set_asid(KERNEL_PID);
#ifdef MIPS3_PLUS /* XXX mmu XXX */
/*
diff -r c8df3c30a05a -r 228ce46d5a3f sys/arch/powerpc/booke/booke_pmap.c
--- a/sys/arch/powerpc/booke/booke_pmap.c Sat Oct 02 11:01:53 2021 +0000
+++ b/sys/arch/powerpc/booke/booke_pmap.c Sat Oct 02 13:41:50 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_pmap.c,v 1.32 2021/03/19 07:51:33 skrll Exp $ */
+/* $NetBSD: booke_pmap.c,v 1.33 2021/10/02 13:41:50 skrll Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -37,7 +37,7 @@
#define __PMAP_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: booke_pmap.c,v 1.32 2021/03/19 07:51:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_pmap.c,v 1.33 2021/10/02 13:41:50 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_multiprocessor.h"
@@ -300,7 +300,7 @@
pool_init(&pmap_pv_pool, sizeof(struct pv_entry), 0, 0, 0, "pvpl",
&pmap_pv_page_allocator, IPL_NONE);
- tlb_set_asid(0);
+ tlb_set_asid(KERNEL_PID);
return endkernel;
}
Home |
Main Index |
Thread Index |
Old Index