m68k: merge MMU and non MMU versions of system.h
authorGreg Ungerer <gerg@uclinux.org>
Thu, 5 May 2011 12:32:12 +0000 (22:32 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 25 Jul 2011 01:20:40 +0000 (11:20 +1000)
commitf941f5caa0e947f4ed060a751ca4a3bf552af625
treef6811757e568e74307abd39534b1d7e7813c8d0f
parent10f939ff3ab80514da3bd96357bb54a8a59b9225
m68k: merge MMU and non MMU versions of system.h

The non-MMU m68k targets can use the same asm/system.h as the MMU
targets. So switch the current system_mm.h to be system.h and remove
system_no.h.

The assembly support code for the non-MMU resume functions needs to
be modified to match the now common switch_to() macro. Specifically
this means correctly saving and restoring the status flags in the case
of the ColdFire resume, and some reordering of the code to not use
registers before they are saved or after they are restored.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/entry_no.h
arch/m68k/include/asm/system.h
arch/m68k/include/asm/system_mm.h [deleted file]
arch/m68k/include/asm/system_no.h [deleted file]
arch/m68k/platform/68328/entry.S
arch/m68k/platform/68360/entry.S
arch/m68k/platform/coldfire/entry.S