smp.h (55420) | smp.h (58755) |
---|---|
1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * | 1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $FreeBSD: head/sys/i386/include/smp.h 55420 2000-01-04 22:24:59Z tegge $ | 9 * $FreeBSD: head/sys/i386/include/smp.h 58755 2000-03-28 18:06:49Z dillon $ |
10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef _KERNEL 17 --- 160 unchanged lines hidden (view full) --- 178 179/* global data in init_smp.c */ 180extern int invltlb_ok; 181extern int smp_active; 182extern int smp_started; 183extern volatile int smp_idle_loops; 184 185#endif /* !LOCORE */ | 10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef _KERNEL 17 --- 160 unchanged lines hidden (view full) --- 178 179/* global data in init_smp.c */ 180extern int invltlb_ok; 181extern int smp_active; 182extern int smp_started; 183extern volatile int smp_idle_loops; 184 185#endif /* !LOCORE */ |
186#endif /* SMP || APIC_IO */ | 186#else /* !SMP && !APIC_IO */ 187 188/* 189 * Create dummy MP lock empties 190 */ 191 192static __inline void 193get_mplock(void) 194{ 195} 196 197static __inline void 198rel_mplock(void) 199{ 200} 201 202#endif 203 |
187#endif /* _KERNEL */ 188#endif /* _MACHINE_SMP_H_ */ | 204#endif /* _KERNEL */ 205#endif /* _MACHINE_SMP_H_ */ |