In the turbosparc's "match" function, test for the `master' CPU, in case
someone ever builds a multi-processor turbosparc module.
This commit is contained in:
parent
37d77087e8
commit
94289e9990
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.50 1997/07/08 19:58:14 pk Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.51 1997/07/08 22:14:42 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -903,7 +903,7 @@ cpumatch_turbosparc(sc, mp, node)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (node == 0)
|
||||
if (node == 0 || sc->master == 0)
|
||||
return;
|
||||
|
||||
i = getpsr();
|
||||
|
Loading…
Reference in New Issue
Block a user