forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
printk: implement pr_cont_t
Implement a new buffering mechanism for pr_cont messages.
Old mechanism syntax:
printk(KERN_INFO "text");
printk(KERN_CONT " continued");
printk(KERN_CONT "\n");
New mechanism syntax:
pr_cont_t c;
pr_cont_begin(&c, KERN_INFO "text");
pr_cont_append(&c, " continued");
pr_cont_end(&c);
Signed-off-by: John Ogness <john.ogness@linutronix.de>- Loading branch information
1 parent
377c0d7
commit 2b9bfd8702672aa1b375a495f3286a277ebf7736
Showing
2 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters