]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:21:47 +0000 (11:21 +1000)
commitde1fcbcefaa520d06a2336291f83b991c5849384
treed17d7b1b67c09752f28c058a0b873fa8b291b995
parent91f3b54e2c79360cc62c251137f1b028deab5a96
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