]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: do not use m68k startup or interrupt code for ColdFire CPUs
authorGreg Ungerer <gerg@uclinux.org>
Wed, 19 Oct 2011 06:15:08 +0000 (16:15 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:48 +0000 (10:20 +1000)
commit06273af7221f194ba353f0be9a075547ffa66acf
tree6e8e4a17e67de3c9e81fe9f0bc226f899ab20da6
parent6746b8f7e1108f0e6e8cadae071e0d32df9348fc
m68k: do not use m68k startup or interrupt code for ColdFire CPUs

The ColdFire CPUs have their own startup and interrupt code (in the
platform/coldfire directory), and do not use the general m68k startup and
interrupt code. In fact the use of the arch/m68k/kernel/head.o is not about
CONFIG_MMU or not, it is really about the machine type we are compiling for.

Modify the selection and use of head.o to be based on the machine type.
Only select the local ints.o and vectors.o code if we are using the classic
68k CPU types (that use the conventional Morotola MMU or SUN3 MMU).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
arch/m68k/kernel/Makefile