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:25 +0000 (14:22 +1000)
commitbc4f4ac2f09a0681b4bd10e698e7f0c6e5137ca0
tree777e85d8f95ea1f8c39e46a2927aea9d284adec9
parent61619b12078dc8b85a3d4cbfa16f650daa341bd1
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]