Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm use __USE() for empty macro
details: https://anonhg.NetBSD.org/src/rev/128737db1299
branches: trunk
changeset: 790619:128737db1299
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 18 17:48:44 2013 +0000
description:
use __USE() for empty macro
diffstat:
sys/uvm/uvm_aobj.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b9dcf528b444 -r 128737db1299 sys/uvm/uvm_aobj.h
--- a/sys/uvm/uvm_aobj.h Fri Oct 18 17:03:02 2013 +0000
+++ b/sys/uvm/uvm_aobj.h Fri Oct 18 17:48:44 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_aobj.h,v 1.22 2012/09/14 18:56:15 rmind Exp $ */
+/* $NetBSD: uvm_aobj.h,v 1.23 2013/10/18 17:48:44 christos Exp $ */
/*
* Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@@ -61,7 +61,7 @@
bool uao_swap_off(int, int);
void uao_dropswap_range(struct uvm_object *, voff_t, voff_t);
#else
-#define uao_find_swslot(obj, off) 0
+#define uao_find_swslot(obj, off) (__USE(off), 0)
#define uao_dropswap(obj, off) /* nothing */
#define uao_dropswap_range(obj, lo, hi) /* nothing */
#endif
Home |
Main Index |
Thread Index |
Old Index