Module Name: src
Committed By: christos
Date: Sat Jan 25 21:11:49 UTC 2014
Modified Files:
src/sys/kern: sys_pmc.c
Log Message:
fix unused
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/sys_pmc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/sys_pmc.c
diff -u src/sys/kern/sys_pmc.c:1.10 src/sys/kern/sys_pmc.c:1.11
--- src/sys/kern/sys_pmc.c:1.10 Mon Apr 21 08:56:31 2008
+++ src/sys/kern/sys_pmc.c Sat Jan 25 16:11:49 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_pmc.c,v 1.10 2008/04/21 12:56:31 ad Exp $ */
+/* $NetBSD: sys_pmc.c,v 1.11 2014/01/25 21:11:49 christos Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_pmc.c,v 1.10 2008/04/21 12:56:31 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_pmc.c,v 1.11 2014/01/25 21:11:49 christos Exp $");
#include "opt_perfctrs.h"
@@ -71,6 +71,7 @@ sys_pmc_control(struct lwp *l, const str
int ctr, operation, error=0;
ctr = SCARG(uap, ctr);
+ __USE(ctr);
operation = SCARG(uap, op);
KERNEL_LOCK(1, NULL);
@@ -140,6 +141,7 @@ sys_pmc_get_info(struct lwp *l, const st
ctr = SCARG(uap, ctr);
request = SCARG(uap, op);
args = SCARG(uap, args);
+ __USE(flags);
KERNEL_LOCK(1, NULL);
nctrs = pmc_get_num_counters();