summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sgi/sgi/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index 076b735bde2..79c551fed95 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.101 2010/04/28 16:20:28 syuu Exp $ */
+/* $OpenBSD: machdep.c,v 1.102 2010/04/28 21:26:47 miod Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -149,10 +149,12 @@ mips_init(int argc, void *argv, caddr_t boot_esym)
extern char exception[], e_exception[];
extern char *hw_vendor;
+#ifdef MULTIPROCESSOR
/*
* Set curcpu address on primary processor.
*/
setcurcpu(&cpu_info_primary);
+#endif
/*
* Make sure we can access the extended address space.