summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/cpu.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2008-10-09 08:43:44 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2008-10-09 08:43:44 +0000
commitaa2e9c218afd7017248868c62135ad22af765b6e (patch)
tree5d3a5e8e8f84c714f7775d89aa8a28271cc851b4 /sys/arch/sparc64/include/cpu.h
parent87da5fdb127c46861bb1c751d8e05869349763aa (diff)
Implement CPU_INFO_UNIT for everyone, not just MP kernels.
ok miod@
Diffstat (limited to 'sys/arch/sparc64/include/cpu.h')
-rw-r--r--sys/arch/sparc64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index 4fa56d7688f..09cb7914810 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.66 2008/08/10 14:13:05 kettenis Exp $ */
+/* $OpenBSD: cpu.h,v 1.67 2008/10/09 08:43:43 art Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -192,6 +192,7 @@ void smp_signotify(struct proc *);
#define CPU_INFO_ITERATOR int
#define CPU_INFO_FOREACH(cii, ci) \
for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL)
+#define CPU_INFO_UNIT(ci) 0
#endif