summaryrefslogtreecommitdiff
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
commit0a5e03dda5108aa95d11b714c83217c28a147f6e (patch)
tree748e59fc38cfdff420e3cd6c6eb4f4c5af2273e7 /sys/kern/subr_smp.c
parent972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f (diff)
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 569f04baf659..bd188d3efbb1 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.87 1999/01/12 00:19:31 eivind Exp $
+ * $Id: mp_machdep.c,v 1.88 1999/01/20 04:24:22 jkh Exp $
*/
#include "opt_smp.h"
@@ -378,7 +378,7 @@ mp_probe(void)
POSTCODE(MP_PROBE_POST);
/* see if EBDA exists */
- if (segment = (u_long) * (u_short *) (KERNBASE + 0x40e)) {
+ if ((segment = (u_long) * (u_short *) (KERNBASE + 0x40e)) != 0) {
/* search first 1K of EBDA */
target = (u_int32_t) (segment << 4);
if ((x = search_for_sig(target, 1024 / 4)) >= 0)