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
@@ -34,6 +34,7 @@
|
||||
#include <asm/mca_asm.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/linkage.h>
|
||||
#include "head.h"
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
#define SAL_PSR_BITS_TO_SET \
|
||||
|
1
arch/ia64/kernel/head.h
Normal file
1
arch/ia64/kernel/head.h
Normal file
@@ -0,0 +1 @@
|
||||
extern void console_print(const char *s);
|
@@ -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