Changes in kernel/generic/src/smp/ipi.c [fe32163:df4ed85] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/smp/ipi.c
rfe32163 rdf4ed85 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 33 33 /** 34 34 * @file 35 * @brief 35 * @brief Generic IPI interface. 36 36 */ 37 37 38 38 #ifdef CONFIG_SMP 39 39 40 40 #include <smp/ipi.h> 41 41 #include <config.h> 42 42 43 43 44 /** Broadcast IPI message … … 47 48 * @param ipi Message to broadcast. 48 49 * 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. 49 54 */ 50 55 void ipi_broadcast(int ipi) … … 55 60 * - if there is only one CPU but the kernel was compiled with CONFIG_SMP 56 61 */ 57 58 if ( config.cpu_count > 1)62 63 if ((config.cpu_active > 1) && (config.cpu_active == config.cpu_count)) 59 64 ipi_broadcast_arch(ipi); 60 65 }
Note:
See TracChangeset
for help on using the changeset viewer.