Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sys/uvm Fixed the build failures caused by incompatibl...
details: https://anonhg.NetBSD.org/src/rev/6a905491a4ef
branches: trunk
changeset: 447566:6a905491a4ef
user: fox <fox%NetBSD.org@localhost>
date: Wed Jan 16 13:21:02 2019 +0000
description:
Fixed the build failures caused by incompatible type comparisons when
VM_PHYSSEG is > 1.
Reviewed by <cherry>
diffstat:
tests/sys/uvm/t_uvm_physseg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b01cc11c5798 -r 6a905491a4ef tests/sys/uvm/t_uvm_physseg.c
--- a/tests/sys/uvm/t_uvm_physseg.c Wed Jan 16 10:10:49 2019 +0000
+++ b/tests/sys/uvm/t_uvm_physseg.c Wed Jan 16 13:21:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_uvm_physseg.c,v 1.4 2018/12/18 07:11:35 fox Exp $ */
+/* $NetBSD: t_uvm_physseg.c,v 1.5 2019/01/16 13:21:02 fox Exp $ */
/*-
* Copyright (c) 2015, 2016 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_uvm_physseg.c,v 1.4 2018/12/18 07:11:35 fox Exp $");
+__RCSID("$NetBSD: t_uvm_physseg.c,v 1.5 2019/01/16 13:21:02 fox Exp $");
/*
* If this line is commented out tests related to uvm_physseg_get_pmseg()
@@ -512,7 +512,7 @@
#if VM_PHYSSEG_MAX > 2
+ npages2
#endif
- + npages3, uvmexp.npages);
+ + npages3, INT_TO_PSIZE_T(uvmexp.npages));
/* Scavenge plug should fit right in the slab */
pgs = uvm_physseg_get_pg(upm3, 0);
Home |
Main Index |
Thread Index |
Old Index