Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/machine mark rump's CPU_INFO_ITERATOR as be...
details: https://anonhg.NetBSD.org/src/rev/3ad54f5029b3
branches: trunk
changeset: 791002:3ad54f5029b3
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Oct 30 08:42:45 2013 +0000
description:
mark rump's CPU_INFO_ITERATOR as being __unused.
diffstat:
sys/rump/include/machine/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 27ed886951d2 -r 3ad54f5029b3 sys/rump/include/machine/cpu.h
--- a/sys/rump/include/machine/cpu.h Wed Oct 30 08:42:16 2013 +0000
+++ b/sys/rump/include/machine/cpu.h Wed Oct 30 08:42:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.16 2013/05/02 19:15:00 pooka Exp $ */
+/* $NetBSD: cpu.h,v 1.17 2013/10/30 08:42:45 mrg Exp $ */
/*
* Copyright (c) 2008-2011 Antti Kantee. All Rights Reserved.
@@ -80,7 +80,7 @@
#define cpu_number() (cpu_index(curcpu))
extern struct cpu_info *rumpcpu_info_list;
-#define CPU_INFO_ITERATOR int
+#define CPU_INFO_ITERATOR int __unused
#define CPU_INFO_FOREACH(_cii_, _ci_) _cii_ = 0, _ci_ = rumpcpu_info_list; \
_ci_ != NULL; _ci_ = _ci_->ci_next
#define CPU_IS_PRIMARY(_ci_) (_ci_->ci_index == 0)
Home |
Main Index |
Thread Index |
Old Index