summaryrefslogtreecommitdiff
path: root/kern/console.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-06 20:42:42 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-06 20:42:42 +0200
commit4a9e56baddebd6b0f2c145d6cdb4425680c8a185 (patch)
tree63e7156634da1944d8eb10ddefb08d8968644319 /kern/console.c
parent76161a62dd157ec9c7692098356a439b408ced60 (diff)
Use new thread_check_intr_context function consistently
Diffstat (limited to 'kern/console.c')
-rw-r--r--kern/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/console.c b/kern/console.c
index ebbdb80..0b5c4f8 100644
--- a/kern/console.c
+++ b/kern/console.c
@@ -173,7 +173,7 @@ console_register(struct console *console)
void
console_intr(struct console *console, const char *s)
{
- assert(!cpu_intr_enabled());
+ assert(thread_check_intr_context());
if (*s == '\0') {
return;