summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/timer.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-08-06 14:13:13 +0200
committerMichal Simek <monstr@monstr.eu>2010-10-21 07:51:30 +0200
commit69717607f028d7d4f4b355afb86556f3dd9363fc (patch)
tree2ce5c9e625ec9049ebb5167a986b8abc01b42975 /arch/microblaze/kernel/timer.c
parentmicroblaze: Clear return value in pt_regs (diff)
downloadlinux-69717607f028d7d4f4b355afb86556f3dd9363fc.tar.xz
linux-69717607f028d7d4f4b355afb86556f3dd9363fc.zip
microblaze: Report if only one timer is used
Kernel needs two timers because of clocksource and clockevent. It is better to show warning message directly on early console if available. If it isn't available kernel log buffer contains it. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/timer.c')
-rw-r--r--arch/microblaze/kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c
index b1380ae93ae1..ec7df67006ba 100644
--- a/arch/microblaze/kernel/timer.c
+++ b/arch/microblaze/kernel/timer.c
@@ -278,7 +278,7 @@ void __init time_init(void)
timer_num =
*(int *) of_get_property(timer, "xlnx,one-timer-only", NULL);
if (timer_num) {
- printk(KERN_EMERG "Please enable two timers in HW\n");
+ eprintk(KERN_EMERG "Please enable two timers in HW\n");
BUG();
}