minor cleanup
This commit is contained in:
parent
f73b81205e
commit
289bbef733
2 changed files with 3 additions and 3 deletions
|
|
@ -290,7 +290,7 @@ panic(char *s)
|
|||
int i;
|
||||
uint pcs[10];
|
||||
|
||||
__asm __volatile("cli");
|
||||
cli();
|
||||
use_console_lock = 0;
|
||||
cprintf("cpu%d: panic: ", cpu());
|
||||
cprintf(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue