summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-03-08 13:52:35 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-03-08 13:52:35 +0000
commit5090057858da2e3859ec1520722fa1e317b0f112 (patch)
tree0b95c3d709b3fc5d32691cb7e41f7f86d2cc4eda /sys/arch
parentf7727d2fcdbe449f7d6b4be393220a427c3bbcab (diff)
Really unbreak GENERIC.MP.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 75a93cd7c35..c156e18015c 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.343 2006/03/08 08:18:24 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.344 2006/03/08 13:52:34 kettenis Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1415,6 +1415,7 @@ amd_family6_setup(struct cpu_info *ci)
extern void (*pagezero)(void *, size_t);
extern void sse2_pagezero(void *, size_t);
extern void i686_pagezero(void *, size_t);
+#if !defined(MULTIPROCESSOR)
static struct amd_pn_flag amd_pn_flags[] = {
{0x01, "TS"},
{0x02, "FID"},
@@ -1425,6 +1426,7 @@ amd_family6_setup(struct cpu_info *ci)
};
u_int regs[4];
int i;
+#endif
if (cpu_feature & CPUID_SSE2)
pagezero = sse2_pagezero;