diff options
author | dillon <dillon@FreeBSD.org> | 2000-03-28 18:06:49 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2000-03-28 18:06:49 +0000 |
commit | b852fcb1606b3b2cda4c9464e3e5d51c9152c4fd (patch) | |
tree | f4d0afb5c90aa2fc555ad217757a051e3a8889e7 /sys/i386/include/smp.h | |
parent | 1ec21e179d8cdcd295c69b7653deb9896f29b271 (diff) | |
download | FreeBSD-src-b852fcb1606b3b2cda4c9464e3e5d51c9152c4fd.zip FreeBSD-src-b852fcb1606b3b2cda4c9464e3e5d51c9152c4fd.tar.gz |
The SMP cleanup commit broke UP compiles. Make UP compiles work again.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index c2340ae..c11bcb2 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -183,6 +183,23 @@ extern int smp_started; extern volatile int smp_idle_loops; #endif /* !LOCORE */ -#endif /* SMP || APIC_IO */ +#else /* !SMP && !APIC_IO */ + +/* + * Create dummy MP lock empties + */ + +static __inline void +get_mplock(void) +{ +} + +static __inline void +rel_mplock(void) +{ +} + +#endif + #endif /* _KERNEL */ #endif /* _MACHINE_SMP_H_ */ |