Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include __USE() unused variables
details: https://anonhg.NetBSD.org/src/rev/1d6976231ec1
branches: trunk
changeset: 790568:1d6976231ec1
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 17 20:59:16 2013 +0000
description:
__USE() unused variables
diffstat:
sys/arch/x86/include/cpu.h | 4 ++--
sys/arch/x86/include/pmap.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 038a406f7a49 -r 1d6976231ec1 sys/arch/x86/include/cpu.h
--- a/sys/arch/x86/include/cpu.h Thu Oct 17 20:58:55 2013 +0000
+++ b/sys/arch/x86/include/cpu.h Thu Oct 17 20:59:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.53 2012/10/27 17:18:13 chs Exp $ */
+/* $NetBSD: cpu.h,v 1.54 2013/10/17 20:59:16 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -287,7 +287,7 @@
extern struct cpu_info *cpu_info_list;
#define CPU_INFO_ITERATOR int
-#define CPU_INFO_FOREACH(cii, ci) cii = 0, ci = cpu_info_list; \
+#define CPU_INFO_FOREACH(cii, ci) __USE(cii), ci = cpu_info_list; \
ci != NULL; ci = ci->ci_next
#define CPU_STARTUP(_ci, _target) ((_ci)->ci_func->start(_ci, _target))
diff -r 038a406f7a49 -r 1d6976231ec1 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Thu Oct 17 20:58:55 2013 +0000
+++ b/sys/arch/x86/include/pmap.h Thu Oct 17 20:59:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.54 2013/06/23 23:49:28 uebayasi Exp $ */
+/* $NetBSD: pmap.h,v 1.55 2013/10/17 20:59:16 christos Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -219,7 +219,7 @@
#define pmap_clear_modify(pg) pmap_clear_attrs(pg, PG_M)
#define pmap_clear_reference(pg) pmap_clear_attrs(pg, PG_U)
-#define pmap_copy(DP,SP,D,L,S)
+#define pmap_copy(DP,SP,D,L,S) __USE(L)
#define pmap_is_modified(pg) pmap_test_attrs(pg, PG_M)
#define pmap_is_referenced(pg) pmap_test_attrs(pg, PG_U)
#define pmap_move(DP,SP,D,L,S)
Home |
Main Index |
Thread Index |
Old Index