summaryrefslogtreecommitdiff
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2016-08-26 14:24:27 +1000
committerGreg Ungerer <gerg@linux-m68k.org>2016-09-26 12:02:58 +1000
commitf71160655d1efda10081482c486481f2108abca5 (patch)
tree9188556e282d838a45e893decca762fb6f07bd7b /arch/m68k/include
parentcbd5b982f6a1540ebb0144774d64381e7b2d39fd (diff)
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>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/mcfmmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/mcfmmu.h b/arch/m68k/include/asm/mcfmmu.h
index 8824236e303f..10f9930ec49a 100644
--- a/arch/m68k/include/asm/mcfmmu.h
+++ b/arch/m68k/include/asm/mcfmmu.h
@@ -105,6 +105,7 @@ static inline void mmu_write(u32 a, u32 v)
__asm__ __volatile__ ("nop");
}
+void cf_bootmem_alloc(void);
int cf_tlb_miss(struct pt_regs *regs, int write, int dtlb, int extension_word);
#endif