/SPARTAN/trunk/arch/ia32/src/smp/mps.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifdef __SMP__ |
#ifdef CONFIG_SMP |
#include <config.h> |
#include <print.h> |
422,4 → 422,4 |
return -1; |
} |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |
/SPARTAN/trunk/arch/ia32/src/smp/smp.c |
---|
47,7 → 47,7 |
#include <memstr.h> |
#include <arch/i8259.h> |
#ifdef __SMP__ |
#ifdef CONFIG_SMP |
static struct smp_config_operations *ops = NULL; |
165,4 → 165,4 |
waitq_wakeup(&kmp_completion_wq, WAKEUP_FIRST); |
} |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |
/SPARTAN/trunk/arch/ia32/src/smp/ap.S |
---|
32,7 → 32,7 |
.section K_TEXT_START_2, "ax" |
#ifdef __SMP__ |
#ifdef CONFIG_SMP |
.global ap_boot |
73,4 → 73,4 |
jmpl $KTEXT, $main_ap |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |
/SPARTAN/trunk/arch/ia32/src/smp/ipi.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifdef __SMP__ |
#ifdef CONFIG_SMP |
#include <smp/ipi.h> |
#include <arch/smp/apic.h> |
36,4 → 36,4 |
(void) l_apic_broadcast_custom_ipi((__u8) ipi); |
} |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |
/SPARTAN/trunk/arch/ia32/src/smp/apic.c |
---|
37,7 → 37,7 |
#include <arch/asm.h> |
#include <arch.h> |
#ifdef __SMP__ |
#ifdef CONFIG_SMP |
/* |
* This is functional, far-from-general-enough interface to the APIC. |
416,4 → 416,4 |
} |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |