diff options
Diffstat (limited to 'kernel/printk/internal.h')
-rw-r--r-- | kernel/printk/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk/internal.h b/kernel/printk/internal.h index 341bedccc065..7fd2838fa417 100644 --- a/kernel/printk/internal.h +++ b/kernel/printk/internal.h | |||
@@ -22,6 +22,8 @@ int __printf(1, 0) vprintk_default(const char *fmt, va_list args); | |||
22 | 22 | ||
23 | #ifdef CONFIG_PRINTK_NMI | 23 | #ifdef CONFIG_PRINTK_NMI |
24 | 24 | ||
25 | extern raw_spinlock_t logbuf_lock; | ||
26 | |||
25 | /* | 27 | /* |
26 | * printk() could not take logbuf_lock in NMI context. Instead, | 28 | * printk() could not take logbuf_lock in NMI context. Instead, |
27 | * it temporary stores the strings into a per-CPU buffer. | 29 | * it temporary stores the strings into a per-CPU buffer. |