summaryrefslogtreecommitdiff
path: root/sys/arch/sh/include
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/sh/include
parent87da5fdb127c46861bb1c751d8e05869349763aa (diff)
Implement CPU_INFO_UNIT for everyone, not just MP kernels.
ok miod@
Diffstat (limited to 'sys/arch/sh/include')
-rw-r--r--sys/arch/sh/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sh/include/cpu.h b/sys/arch/sh/include/cpu.h
index dd2cd3138d1..33424e76146 100644
--- a/sys/arch/sh/include/cpu.h
+++ b/sys/arch/sh/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.14 2008/07/18 23:43:31 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.15 2008/10/09 08:43:43 art Exp $ */
/* $NetBSD: cpu.h,v 1.41 2006/01/21 04:24:12 uwe Exp $ */
/*-
@@ -68,6 +68,7 @@ extern struct cpu_info cpu_info_store;
#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
/*