aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/setup.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-29 02:26:46 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-12 06:11:34 -0400
commitd8804adf52f5991388fa9af77428e4cc7768059d (patch)
tree916e2e13745762b8f9038171a1258f3dfbccaba7 /arch/blackfin/kernel/setup.c
parent729a3fa7333af58d57eecb0aacf7ca3d58237f81 (diff)
Blackfin: do not append newlines to panic() messages
The panic() function already handles newlines for us. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r--arch/blackfin/kernel/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 0838eafed172..5a4a03670085 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -477,7 +477,7 @@ static __init void memory_setup(void)
477 477
478 if (DMA_UNCACHED_REGION > (_ramend - _ramstart)) { 478 if (DMA_UNCACHED_REGION > (_ramend - _ramstart)) {
479 console_init(); 479 console_init();
480 panic("DMA region exceeds memory limit: %lu.\n", 480 panic("DMA region exceeds memory limit: %lu.",
481 _ramend - _ramstart); 481 _ramend - _ramstart);
482 } 482 }
483 memory_end = _ramend - DMA_UNCACHED_REGION; 483 memory_end = _ramend - DMA_UNCACHED_REGION;
@@ -531,7 +531,7 @@ static __init void memory_setup(void)
531 531
532 if (mtd_size == 0) { 532 if (mtd_size == 0) {
533 console_init(); 533 console_init();
534 panic("Don't boot kernel without rootfs attached.\n"); 534 panic("Don't boot kernel without rootfs attached.");
535 } 535 }
536 536
537 /* Relocate MTD image to the top of memory after the uncached memory area */ 537 /* Relocate MTD image to the top of memory after the uncached memory area */
@@ -886,7 +886,7 @@ void __init setup_arch(char **cmdline_p)
886 printk(KERN_ERR "Warning: Compiled for Rev %d, but running on Rev %d\n", 886 printk(KERN_ERR "Warning: Compiled for Rev %d, but running on Rev %d\n",
887 bfin_compiled_revid(), bfin_revid()); 887 bfin_compiled_revid(), bfin_revid());
888 if (bfin_compiled_revid() > bfin_revid()) 888 if (bfin_compiled_revid() > bfin_revid())
889 panic("Error: you are missing anomaly workarounds for this rev\n"); 889 panic("Error: you are missing anomaly workarounds for this rev");
890 } 890 }
891 } 891 }
892 if (bfin_revid() < CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX) 892 if (bfin_revid() < CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX)
@@ -896,7 +896,7 @@ void __init setup_arch(char **cmdline_p)
896 896
897 /* We can't run on BF548-0.1 due to ANOMALY 05000448 */ 897 /* We can't run on BF548-0.1 due to ANOMALY 05000448 */
898 if (bfin_cpuid() == 0x27de && bfin_revid() == 1) 898 if (bfin_cpuid() == 0x27de && bfin_revid() == 1)
899 panic("You can't run on this processor due to 05000448\n"); 899 panic("You can't run on this processor due to 05000448");
900 900
901 printk(KERN_INFO "Blackfin Linux support by http://blackfin.uclinux.org/\n"); 901 printk(KERN_INFO "Blackfin Linux support by http://blackfin.uclinux.org/\n");
902 902