Changeset 04803bf in mainline for kernel/generic/src/smp/ipi.c
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/generic/src/smp/ipi.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/smp/ipi.c
rb50b5af2 r04803bf 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 33 33 /** 34 34 * @file 35 * @brief Generic IPI interface.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.
