summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2006-03-08 13:52:34 +0000
committerkettenis <kettenis@openbsd.org>2006-03-08 13:52:34 +0000
commit5c66a4a3ab9ea10d51ec5cef180111bf1a16f554 (patch)
tree4077b2de52cd8f91422320d33f056d546318fb8d /sys
parentFix logic of the kroute code. First of all there was a porblem if a prefix (diff)
downloadwireguard-openbsd-5c66a4a3ab9ea10d51ec5cef180111bf1a16f554.tar.xz
wireguard-openbsd-5c66a4a3ab9ea10d51ec5cef180111bf1a16f554.zip
Really unbreak GENERIC.MP.
Diffstat (limited to 'sys')
-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;