summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authorkolya <kolya>2008-10-12 20:19:16 +0000
committerkolya <kolya>2008-10-12 20:19:16 +0000
commit289bbef733c00be99491499dae63ae3ae1952fdb (patch)
tree983740f53eeb0d8ea7540c5129626240f4fef9f3 /console.c
parentf73b81205e6c3ffc14b6f657f50ce3dd1fc99722 (diff)
downloadxv6-labs-289bbef733c00be99491499dae63ae3ae1952fdb.tar.gz
xv6-labs-289bbef733c00be99491499dae63ae3ae1952fdb.tar.bz2
xv6-labs-289bbef733c00be99491499dae63ae3ae1952fdb.zip
minor cleanup
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 8681540..87c3713 100644
--- a/console.c
+++ b/console.c
@@ -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);