aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/coldfire/intc.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-06-23 15:52:25 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-07-25 11:20:41 +1000
commit622e9472dd723d5c7dc034510faae4b113e5bbc2 (patch)
tree468728239c79b081a9e7739e627728462eb9579e /arch/m68k/platform/coldfire/intc.c
parentf4a5437333e405e967be660430e58fc2355c62c8 (diff)
downloadkernel_samsung_smdk4412-622e9472dd723d5c7dc034510faae4b113e5bbc2.zip
kernel_samsung_smdk4412-622e9472dd723d5c7dc034510faae4b113e5bbc2.tar.gz
kernel_samsung_smdk4412-622e9472dd723d5c7dc034510faae4b113e5bbc2.tar.bz2
m68knommu: correctly use trap_init
Currently trap_init() is an empty function for m68knommu. Instead the vectors are being setup as part of the IRQ initialization. This is inconsistent with m68k and other architectures. Change the local init_vectors() to be trap_init(), and init the vectors at the correct time during startup. This will help merge of m68k and m68knommu trap code in the furture. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/coldfire/intc.c')
-rw-r--r--arch/m68k/platform/coldfire/intc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/platform/coldfire/intc.c b/arch/m68k/platform/coldfire/intc.c
index 0bbb414..5c0c150 100644
--- a/arch/m68k/platform/coldfire/intc.c
+++ b/arch/m68k/platform/coldfire/intc.c
@@ -139,7 +139,6 @@ void __init init_IRQ(void)
{
int irq;
- init_vectors();
mcf_maskimr(0xffffffff);
for (irq = 0; (irq < NR_IRQS); irq++) {