summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ipl_funcs.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>1999-07-10 21:57:52 +0000
committeralc <alc@FreeBSD.org>1999-07-10 21:57:52 +0000
commitfa7e4f48c67a6d1fb499feaaed8b783736b1771d (patch)
treec56579ff292129562621b612d93e318b01ad1a09 /sys/i386/isa/ipl_funcs.c
parenta49a8239ea761348b328fb3c9930622220712017 (diff)
downloadFreeBSD-src-fa7e4f48c67a6d1fb499feaaed8b783736b1771d.zip
FreeBSD-src-fa7e4f48c67a6d1fb499feaaed8b783736b1771d.tar.gz
An SMP-specific change: eliminate a check on bsp_apic_ready
that hasn't been necessary since i386/i386/simplelock.s revision 1.9. Submitted by: dillon and tegge (simultaneously)
Diffstat (limited to 'sys/i386/isa/ipl_funcs.c')
-rw-r--r--sys/i386/isa/ipl_funcs.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/i386/isa/ipl_funcs.c b/sys/i386/isa/ipl_funcs.c
index 2b7a1c4..60cad77 100644
--- a/sys/i386/isa/ipl_funcs.c
+++ b/sys/i386/isa/ipl_funcs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ipl_funcs.c,v 1.21 1999/06/30 03:39:29 alc Exp $
+ * $Id: ipl_funcs.c,v 1.22 1999/07/10 15:28:01 bde Exp $
*/
#include <sys/types.h>
@@ -237,16 +237,10 @@ unsigned NAME(void) \
{ \
unsigned x; \
\
- if (!bsp_apic_ready) { \
- x = cpl; \
- set_cpl; \
- } \
- else { \
- IFCPL_LOCK(); \
- x = cpl; \
- set_cpl; \
- IFCPL_UNLOCK(); \
- } \
+ IFCPL_LOCK(); \
+ x = cpl; \
+ set_cpl; \
+ IFCPL_UNLOCK(); \
\
return (x); \
}
OpenPOWER on IntegriCloud