Module Name: src Committed By: christos Date: Thu Oct 17 20:59:16 UTC 2013
Modified Files: src/sys/arch/x86/include: cpu.h pmap.h Log Message: __USE() unused variables To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x86/include/cpu.h cvs rdiff -u -r1.54 -r1.55 src/sys/arch/x86/include/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/include/cpu.h diff -u src/sys/arch/x86/include/cpu.h:1.53 src/sys/arch/x86/include/cpu.h:1.54 --- src/sys/arch/x86/include/cpu.h:1.53 Sat Oct 27 13:18:13 2012 +++ src/sys/arch/x86/include/cpu.h Thu Oct 17 16:59:16 2013 @@ -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_primary; 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)) Index: src/sys/arch/x86/include/pmap.h diff -u src/sys/arch/x86/include/pmap.h:1.54 src/sys/arch/x86/include/pmap.h:1.55 --- src/sys/arch/x86/include/pmap.h:1.54 Sun Jun 23 19:49:28 2013 +++ src/sys/arch/x86/include/pmap.h Thu Oct 17 16:59:16 2013 @@ -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 @@ extern long nkptp[PTP_LEVELS]; #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)