summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
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/mips64
parent87da5fdb127c46861bb1c751d8e05869349763aa (diff)
Implement CPU_INFO_UNIT for everyone, not just MP kernels.
ok miod@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h
index 3a5d6d96f78..be6846f83e8 100644
--- a/sys/arch/mips64/include/cpu.h
+++ b/sys/arch/mips64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.25 2008/07/18 23:43:31 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.26 2008/10/09 08:43:43 art Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -384,6 +384,7 @@ extern struct cpu_info cpu_info_primary;
#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
#define cpu_number() 0