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 in previous.
details: https://anonhg.NetBSD.org/src/rev/a2554aac1f7c
branches: trunk
changeset: 755446:a2554aac1f7c
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jun 06 10:22:43 2010 +0000
description:
Fix CPU_INFO_FOREACH in previous.
diffstat:
sys/arch/hp700/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8198cf822487 -r a2554aac1f7c sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h Sun Jun 06 10:15:51 2010 +0000
+++ b/sys/arch/hp700/include/cpu.h Sun Jun 06 10:22:43 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.50 2010/06/06 10:15:51 skrll Exp $ */
+/* $NetBSD: cpu.h,v 1.51 2010/06/06 10:22:43 skrll Exp $ */
/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
@@ -257,7 +257,7 @@
#define CPU_IS_PRIMARY(ci) ((ci)->ci_cpuid == 0)
#define CPU_INFO_ITERATOR int
-#define CPU_INFO_FOREACH(cii, ci) cii = 0; ci = &cpu_info[0], cii < ncpus; cii++, ci++
+#define CPU_INFO_FOREACH(cii, ci) cii = 0; ci = &cpus[0], cii < ncpus; cii++, ci++
void cpu_boot_secondary_processors(void);
#else /* MULTIPROCESSOR */
Home |
Main Index |
Thread Index |
Old Index