]> 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, 23 Aug 2011 04:23:42 +0000 (14:23 +1000)
commit52caa863cdc226731ea07a024a6cda96569c0cd4
treec927b045194c36d5f9cf6de2dfaf6f18de732981
parentf14164a856021224f6285527f20133e712f25249
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]