]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: move hardware vector setting from traps.c to its own file
authorGreg Ungerer <gerg@uclinux.org>
Fri, 24 Jun 2011 06:15:40 +0000 (16:15 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 04:22:36 +0000 (14:22 +1000)
commitfc8870b0b5943caa21e6b2eceebe3908e62741ad
tree777e85d8f95ea1f8c39e46a2927aea9d284adec9
parenta0421ae221c985e0f758b5af15b487f9c605bbbe
m68k: move hardware vector setting from traps.c to its own file

Most of the trap.c code is general to all m68k arch members. But the code
it currently contains to set the hardware vector table is quite specific to
the 680x0 family. They can have the vector table at any address unlike
other family members (which either support only a single fixed address,
or a limited range of addresses). So lets move that code out to a new file,
vectors.c. This will make sharing the rest of the trap.c code easier and
cleaner.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/kernel/Makefile
arch/m68k/kernel/traps_mm.c
arch/m68k/kernel/vectors.c [new file with mode: 0644]