]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:21:47 +0000 (11:21 +1000)
commit7134a0043ea7ae629b1da0f73f733f9b59ea7183
tree745046a03d789630f23ab353f59985f928e210a9
parent9300898a880942a09373d23074610fc402b754bf
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