cleanup console_print()
console_print() is an old legacy interface mostly unused in the entire kernel tree. It's best to clean up its existing use and let developers use their own implementation of it as they feel fit. Signed-off-by: Anirban Sinha <asinha@zeugmasystems.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
bb193c986a
commit
353f6dd2de
@@ -161,6 +161,13 @@ show_regs (struct pt_regs *regs)
|
||||
show_stack(NULL, NULL);
|
||||
}
|
||||
|
||||
/* local support for deprecated console_print */
|
||||
void
|
||||
console_print(const char *s)
|
||||
{
|
||||
printk(KERN_EMERG "%s", s);
|
||||
}
|
||||
|
||||
void
|
||||
do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall)
|
||||
{
|
||||
|
Reference in New Issue
Block a user