mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
[PATCH] m68knommu: enable cache support code for ColdFIre 5249
Enable the ColdFire 5249 cache support code - it should have been on. Also one more change of "extern inline" to "static inline". Signed-off-by: Greg Ungerer <gerg@uclinux.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4e51f67458
commit
3dead1a360
@ -25,7 +25,7 @@
|
||||
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \
|
||||
memcpy(dst, src, len)
|
||||
|
||||
extern inline void __flush_cache_all(void)
|
||||
static inline void __flush_cache_all(void)
|
||||
{
|
||||
#ifdef CONFIG_M5407
|
||||
/*
|
||||
@ -64,7 +64,7 @@ extern inline void __flush_cache_all(void)
|
||||
"nop\n\t"
|
||||
: : : "d0" );
|
||||
#endif /* CONFIG_M5272 */
|
||||
#if CONFIG_M5249
|
||||
#ifdef CONFIG_M5249
|
||||
__asm__ __volatile__ (
|
||||
"movel #0xa1000200, %%d0\n\t"
|
||||
"movec %%d0, %%CACR\n\t"
|
||||
|
Loading…
x
Reference in New Issue
Block a user