Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Sign extended uarea va appropriately for ...
details: https://anonhg.NetBSD.org/src/rev/9403188a7331
branches: trunk
changeset: 346993:9403188a7331
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Aug 09 16:38:24 2016 +0000
description:
Sign extended uarea va appropriately for mips_dcache_inv_range
diffstat:
sys/arch/mips/mips/vm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b01c7fe898d2 -r 9403188a7331 sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c Tue Aug 09 13:45:45 2016 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c Tue Aug 09 16:38:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.152 2016/08/09 09:02:10 skrll Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.153 2016/08/09 16:38:24 skrll Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.152 2016/08/09 09:02:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.153 2016/08/09 16:38:24 skrll Exp $");
#include "opt_ddb.h"
#include "opt_coredump.h"
@@ -243,7 +243,7 @@
#ifdef MIPS3_PLUS
if (MIPS_CACHE_VIRTUAL_ALIAS)
- mips_dcache_inv_range((vaddr_t)va, USPACE);
+ mips_dcache_inv_range((intptr_t)va, USPACE);
#endif
for (const paddr_t epa = pa + USPACE; pa < epa; pa += PAGE_SIZE) {
Home |
Main Index |
Thread Index |
Old Index