/SPARTAN/trunk/generic/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 <config.h> |
44,7 → 44,7 |
/* |
* Provisions must be made to avoid sending IPI: |
* - before all CPU's were configured to accept the IPI |
* - if there is only one CPU but the kernel was compiled with __SMP__ |
* - if there is only one CPU but the kernel was compiled with CONFIG_SMP |
*/ |
if ((config.cpu_active > 1) && (config.cpu_active == config.cpu_count)) |
51,4 → 51,4 |
ipi_broadcast_arch(ipi); |
} |
#endif /* __SMP__ */ |
#endif /* CONFIG_SMP */ |