Changes in kernel/arch/sparc64/src/smp/sun4v/smp.c [1433ecda:7c3fb9b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/smp/sun4v/smp.c
r1433ecda r7c3fb9b 191 191 192 192 /* 193 194 195 193 * if failed in previous CPUs, don't try 194 * to detect physical cores any more 195 */ 196 196 if (exec_unit_assign_error) 197 197 continue; … … 250 250 exec_units[i].strand_count : max_core_strands; 251 251 252 /* detecting execution unit failed */252 /* detecting execution unit failed */ 253 253 } else { 254 254 exec_unit_assign_error = 1; … … 260 260 261 261 /* 262 263 264 265 262 * A fallback code which will be executed if finding out which 263 * execution units belong to particular CPUs fails. Pretend there 264 * exists just one execution unit and all CPUs belong to it. 265 */ 266 266 if (exec_unit_assign_error) { 267 267 bsp_exec_unit_index = 0; … … 288 288 289 289 /* 290 291 292 293 290 * Reorder the execution units array elements and the cpuid array 291 * elements so that the BSP will always be the very first CPU of 292 * the very first execution unit. 293 */ 294 294 exec_unit_t temp_exec_unit = exec_units[0]; 295 295 exec_units[0] = exec_units[bsp_exec_unit_index];
Note:
See TracChangeset
for help on using the changeset viewer.