| 471 | } |
| 472 | |
| 473 | static void |
| 474 | kdb_switch(void) |
| 475 | { |
| 476 | thread_unlock(curthread); |
| 477 | kdb_backtrace(); |
| 478 | kdb_reenter(); |
| 479 | panic("%s: did not reenter debugger", __func__); |
| 480 | } |
| 481 | |
| 482 | /* |
| 483 | * The machine independent parts of context switching. |
no test coverage detected