projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0a318a
)
printk: make dynamic units clear for the kernel ring buffer
author
Luis R. Rodriguez
<
[email protected]
>
Wed, 6 Aug 2014 23:08:54 +0000
(16:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 7 Aug 2014 01:01:23 +0000
(18:01 -0700)
Signed-off-by: Luis R. Rodriguez <
[email protected]
>
Suggested-by: Davidlohr Bueso <
[email protected]
>
Cc: Andrew Lunn <
[email protected]
>
Cc: Stephen Warren <
[email protected]
>
Cc: Greg Kroah-Hartman <
[email protected]
>
Cc: Michal Hocko <
[email protected]
>
Cc: Petr Mladek <
[email protected]
>
Cc: Joe Perches <
[email protected]
>
Cc: Arun KS <
[email protected]
>
Cc: Kees Cook <
[email protected]
>
Cc: Davidlohr Bueso <
[email protected]
>
Cc: Chris Metcalf <
[email protected]
>
Cc: Jan Kara <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/printk/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk/printk.c
b/kernel/printk/printk.c
index 32ad0c7a0cd3c246f7e40daf5bcbc0b3ad890de1..db290be32984db20119265aecf41a2cbc2ca7ffa 100644
(file)
--- a/
kernel/printk/printk.c
+++ b/
kernel/printk/printk.c
@@
-879,7
+879,7
@@
void __init setup_log_buf(int early)
memcpy(log_buf, __log_buf, __LOG_BUF_LEN);
raw_spin_unlock_irqrestore(&logbuf_lock, flags);
- pr_info("log_buf_len: %d\n", log_buf_len);
+ pr_info("log_buf_len: %d
bytes
\n", log_buf_len);
pr_info("early log buf free: %d(%d%%)\n",
free, (free * 100) / __LOG_BUF_LEN);
}