summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2012-07-23 14:59:36 +0800
committerBob Liu <lliubbo@gmail.com>2012-07-24 13:39:53 +0800
commit719154c6d1c1a3a404f4ff570c4b36bb2ef868ca (patch)
treeb6489ebea97c3ba0aaa43a79ca7d0fc2e9b1f0a0 /arch/blackfin/mach-common
parent0220874aad7160d127f9a95eb556cec2c374cd51 (diff)
downloadlinux-719154c6d1c1a3a404f4ff570c4b36bb2ef868ca.tar.gz
linux-719154c6d1c1a3a404f4ff570c4b36bb2ef868ca.tar.bz2
linux-719154c6d1c1a3a404f4ff570c4b36bb2ef868ca.zip
bf60x: fix build warning
Fix several build warning while using bf609-ezkit_defconfig. Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 9660d5fdbed4..7ca09ec2ca53 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -328,7 +328,7 @@ static void bfin_sec_set_priority(unsigned int sec_int_levels, u8 *sec_int_prior
hard_local_irq_restore(flags);
}
-static void bfin_sec_raise_irq(unsigned int sid)
+void bfin_sec_raise_irq(unsigned int sid)
{
unsigned long flags = hard_local_irq_save();
@@ -434,10 +434,10 @@ void handle_core_fault(unsigned int irq, struct irq_desc *desc)
panic("Kernel core hardware error");
break;
case IRQ_C0_NMI_L1_PARITY_ERR:
- panic("NMI %d occurs unexpectedly");
+ panic("NMI occurs unexpectedly");
break;
default:
- panic("Core 1 fault %d occurs unexpectedly");
+ panic("Core 1 fault occurs unexpectedly");
}
raw_spin_unlock(&desc->lock);