* Resets the execution entity tied to a specific callout cpu. */
| 235 | * Resets the execution entity tied to a specific callout cpu. |
| 236 | */ |
| 237 | static void |
| 238 | cc_cce_cleanup(struct callout_cpu *cc, int direct) |
| 239 | { |
| 240 | |
| 241 | cc_exec_curr(cc, direct) = NULL; |
| 242 | cc_exec_cancel(cc, direct) = false; |
| 243 | cc_exec_waiting(cc, direct) = false; |
| 244 | #ifdef SMP |
| 245 | cc_migration_cpu(cc, direct) = CPUBLOCK; |
| 246 | cc_migration_time(cc, direct) = 0; |
| 247 | cc_migration_prec(cc, direct) = 0; |
| 248 | cc_migration_func(cc, direct) = NULL; |
| 249 | cc_migration_arg(cc, direct) = NULL; |
| 250 | #endif |
| 251 | } |
| 252 | |
| 253 | /* |
| 254 | * Checks if migration is requested by a specific callout cpu. |
no outgoing calls
no test coverage detected