Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include resort the sys/cpu.h way for unused...
details: https://anonhg.NetBSD.org/src/rev/5950bc5537da
branches: trunk
changeset: 791202:5950bc5537da
user: nisimura <nisimura%NetBSD.org@localhost>
date: Fri Nov 08 03:59:35 2013 +0000
description:
resort the sys/cpu.h way for unused cii iterator in !MULTIPROCESSOR case.
diffstat:
sys/arch/powerpc/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c4c4af7f7de5 -r 5950bc5537da sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h Fri Nov 08 03:56:10 2013 +0000
+++ b/sys/arch/powerpc/include/cpu.h Fri Nov 08 03:59:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.97 2013/07/17 23:27:02 matt Exp $ */
+/* $NetBSD: cpu.h,v 1.98 2013/11/08 03:59:35 nisimura Exp $ */
/*
* Copyright (C) 1999 Wolfgang Solfrank.
@@ -199,7 +199,7 @@
#define CPU_IS_PRIMARY(ci) true
#define CPU_INFO_ITERATOR int
#define CPU_INFO_FOREACH(cii, ci) \
- cii = 0, ci = curcpu(); ci != NULL; ci = NULL
+ (void)cii, ci = curcpu(); ci != NULL; ci = NULL
#endif /* MULTIPROCESSOR || _MODULE */
Home |
Main Index |
Thread Index |
Old Index