Messages in this thread Patch in this message | | | Date | Tue, 10 Aug 2010 11:11:19 +0200 | From | Christian Dietrich <> | Subject | [PATCH 3/4] arch/frv: Removing dead NO_KERNEL_MSG config option |
| |
CONFIG_NO_KERNEL_MSG doesn't exist in Kconfig, therefore removing all references to it from the source.
Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> --- arch/frv/include/asm/bug.h | 4 ---- arch/frv/kernel/debug-stub.c | 2 -- 2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/frv/include/asm/bug.h b/arch/frv/include/asm/bug.h index 2e05450..ea6e986 100644 --- a/arch/frv/include/asm/bug.h +++ b/arch/frv/include/asm/bug.h @@ -19,12 +19,8 @@ */ extern asmlinkage void __debug_bug_trap(int signr); -#ifdef CONFIG_NO_KERNEL_MSG -#define _debug_bug_printk() -#else extern void __debug_bug_printk(const char *file, unsigned line); #define _debug_bug_printk() __debug_bug_printk(__FILE__, __LINE__) -#endif #define _debug_bug_trap(signr) \ do { \ diff --git a/arch/frv/kernel/debug-stub.c b/arch/frv/kernel/debug-stub.c index 2845139..8752253 100644 --- a/arch/frv/kernel/debug-stub.c +++ b/arch/frv/kernel/debug-stub.c @@ -250,10 +250,8 @@ int __init console_get_baud(void) /* * display BUG() info */ -#ifndef CONFIG_NO_KERNEL_MSG void __debug_bug_printk(const char *file, unsigned line) { printk("kernel BUG at %s:%d!\n", file, line); } /* end __debug_bug_printk() */ -#endif -- 1.7.0.4
| |