Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/include Fix CPU_INFO_FOREACH.
details: https://anonhg.NetBSD.org/src/rev/4c7023067bcb
branches: trunk
changeset: 761540:4c7023067bcb
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 31 18:21:33 2011 +0000
description:
Fix CPU_INFO_FOREACH.
diffstat:
sys/arch/hp700/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ade252312698 -r 4c7023067bcb sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h Mon Jan 31 17:54:20 2011 +0000
+++ b/sys/arch/hp700/include/cpu.h Mon Jan 31 18:21:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.64 2011/01/31 14:11:02 skrll Exp $ */
+/* $NetBSD: cpu.h,v 1.65 2011/01/31 18:21:33 skrll Exp $ */
/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
@@ -305,7 +305,7 @@
#define CPU_IS_PRIMARY(ci) ((ci)->ci_cpuid == 0)
#define CPU_INFO_ITERATOR int
-#define CPU_INFO_FOREACH(cii, ci) cii = 0; ci = &cpus[0], cii < hppa_ncpu; cii++, ci++
+#define CPU_INFO_FOREACH(cii, ci) cii = 0, ci = &cpus[0]; cii < hppa_ncpu; cii++, ci++
void cpu_boot_secondary_processors(void);
Home |
Main Index |
Thread Index |
Old Index