summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-05-28 14:23:38 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-05-28 14:23:38 +0000
commit81dca58a44e932865dbe840e22b75c1509433b02 (patch)
tree0256429725473788889a26f99a213f6af24ff0cf /sys/kern
parent4c2738da2619a0e3e44312fe7c5f0965deb2e6b1 (diff)
Delete a fallback definition for CPU_INFO_UNIT that's both unnecessary
and incorrect. Kills an XXX comment. ok syuu, thib, art, kettenis, millert, deraadt
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sched.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index 82f606fdfe5..3c55c59dfdb 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sched.c,v 1.21 2010/05/25 19:59:35 kettenis Exp $ */
+/* $OpenBSD: kern_sched.c,v 1.22 2010/05/28 14:23:37 guenther Exp $ */
/*
* Copyright (c) 2007, 2008 Artur Grabowski <art@openbsd.org>
*
@@ -627,13 +627,6 @@ cpuset_clear(struct cpuset *cs)
memset(cs, 0, sizeof(*cs));
}
-/*
- * XXX - implement it on SP architectures too
- */
-#ifndef CPU_INFO_UNIT
-#define CPU_INFO_UNIT 0
-#endif
-
void
cpuset_add(struct cpuset *cs, struct cpu_info *ci)
{