Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/smp/ipi.c

    rdf4ed85 rfe32163  
    2727 */
    2828
    29 /** @addtogroup generic 
     29/** @addtogroup generic
    3030 * @{
    3131 */
     
    3333/**
    3434 * @file
    35  * @brief       Generic IPI interface.
     35 * @brief Generic IPI interface.
    3636 */
    37  
     37
    3838#ifdef CONFIG_SMP
    3939
    4040#include <smp/ipi.h>
    4141#include <config.h>
    42 
    4342
    4443/** Broadcast IPI message
     
    4847 * @param ipi Message to broadcast.
    4948 *
    50  * @bug The decision whether to actually send the IPI must be based
    51  *      on a different criterion. The current version has
    52  *      problems when some of the detected CPUs are marked
    53  *      disabled in machine configuration.
    5449 */
    5550void ipi_broadcast(int ipi)
     
    6055         * - if there is only one CPU but the kernel was compiled with CONFIG_SMP
    6156         */
    62 
    63         if ((config.cpu_active > 1) && (config.cpu_active == config.cpu_count))
     57       
     58        if (config.cpu_count > 1)
    6459                ipi_broadcast_arch(ipi);
    6560}
Note: See TracChangeset for help on using the changeset viewer.