m68knommu: correctly use trap_init
authorGreg Ungerer <gerg@uclinux.org>
Thu, 23 Jun 2011 05:52:25 +0000 (15:52 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 25 Jul 2011 01:20:41 +0000 (11:20 +1000)
commit622e9472dd723d5c7dc034510faae4b113e5bbc2
tree468728239c79b081a9e7739e627728462eb9579e
parentf4a5437333e405e967be660430e58fc2355c62c8
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>
arch/m68k/include/asm/traps.h
arch/m68k/kernel/traps_no.c
arch/m68k/platform/5272/intc.c
arch/m68k/platform/68328/ints.c
arch/m68k/platform/68360/ints.c
arch/m68k/platform/coldfire/intc-2.c
arch/m68k/platform/coldfire/intc-simr.c
arch/m68k/platform/coldfire/intc.c
arch/m68k/platform/coldfire/vectors.c