Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm allow NONE build



details:   https://anonhg.NetBSD.org/src/rev/0b435066e70c
branches:  trunk
changeset: 450941:0b435066e70c
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed May 01 07:17:18 2019 +0000

description:
allow NONE build

diffstat:

 sys/uvm/uvm_swap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4c0d407c4264 -r 0b435066e70c sys/uvm/uvm_swap.h
--- a/sys/uvm/uvm_swap.h        Wed May 01 06:47:45 2019 +0000
+++ b/sys/uvm/uvm_swap.h        Wed May 01 07:17:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_swap.h,v 1.24 2018/03/15 03:21:58 christos Exp $   */
+/*     $NetBSD: uvm_swap.h,v 1.25 2019/05/01 07:17:18 mlelstv Exp $    */
 
 /*
  * Copyright (c) 1997 Matthew R. Green
@@ -57,7 +57,7 @@
 
 #else /* defined(VMSWAP) */
 #define        uvm_swapisfull()        true
-#define uvm_swap_stats(c, l, f, count, retval) (*retval = 0, ENOSYS)
+#define uvm_swap_stats(c, l, f, count, retval) (__used f, *retval = 0, ENOSYS)
 #endif /* defined(VMSWAP) */
 
 void   uvm_swap_shutdown(struct lwp *);



Home | Main Index | Thread Index | Old Index