Changes in kernel/generic/src/smp/ipi.c [df4ed85:fe32163] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/smp/ipi.c
rdf4ed85 rfe32163 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 43 42 44 43 /** Broadcast IPI message … … 48 47 * @param ipi Message to broadcast. 49 48 * 50 * @bug The decision whether to actually send the IPI must be based51 * on a different criterion. The current version has52 * problems when some of the detected CPUs are marked53 * disabled in machine configuration.54 49 */ 55 50 void ipi_broadcast(int ipi) … … 60 55 * - if there is only one CPU but the kernel was compiled with CONFIG_SMP 61 56 */ 62 63 if ( (config.cpu_active > 1) && (config.cpu_active == config.cpu_count))57 58 if (config.cpu_count > 1) 64 59 ipi_broadcast_arch(ipi); 65 60 }
Note:
See TracChangeset
for help on using the changeset viewer.