summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-04-06 07:53:58 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-04-06 07:53:58 +0000
commit981ceb62127338c71cde49a96e736d2504a53fd1 (patch)
treef1a306e0e93065d3b16cde7f7a7e091daac26c9e
parentba5a0c9c7d76b5f296bdd4d83e1567a851e3d7ec (diff)
allow GENERIC.MP to compile again...just for shits and giggles.
-rw-r--r--sys/arch/octeon/octeon/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c
index b02b7662b5c..8051195bca4 100644
--- a/sys/arch/octeon/octeon/machdep.c
+++ b/sys/arch/octeon/octeon/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.31 2013/04/03 12:03:06 jasper Exp $ */
+/* $OpenBSD: machdep.c,v 1.32 2013/04/06 07:53:57 jasper Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
@@ -721,7 +721,7 @@ hw_cpu_boot_secondary(struct cpu_info *ci)
vaddr_t kstack;
kstack = alloc_contiguous_pages(USPACE);
- if (kstack == NULL)
+ if (kstack == 0)
panic("unable to allocate idle stack\n");
ci->ci_curprocpaddr = (void *)kstack;
cpu_spinup_a0 = (uint64_t)ci;