OSDN Git Service

m68k: move ColdFire _bootmem_alloc code
authorGreg Ungerer <gerg@linux-m68k.org>
Fri, 26 Aug 2016 04:24:27 +0000 (14:24 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 26 Sep 2016 02:02:58 +0000 (12:02 +1000)
commitf71160655d1efda10081482c486481f2108abca5
tree9188556e282d838a45e893decca762fb6f07bd7b
parentcbd5b982f6a1540ebb0144774d64381e7b2d39fd
m68k: move ColdFire _bootmem_alloc code

The early ColdFire bootmem_alloc() code is currently only included in
the board support for the Coldire 54xx platforms. It will be used on all
ColdFire MMU enabled platforms as others are supported. So move the
mcf54xx_bootmem_alloc() function to be generally available to all MMU
enabled ColdFire parts (and use a more generic name for it).

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/coldfire/m54xx.c
arch/m68k/include/asm/mcfmmu.h
arch/m68k/mm/mcfmmu.c