提交 3dead1a3 编写于 作者: G Greg Ungerer 提交者: Linus Torvalds

[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: NGreg Ungerer <gerg@uclinux.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 4e51f674
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \ #define copy_from_user_page(vma, page, vaddr, dst, src, len) \
memcpy(dst, src, len) memcpy(dst, src, len)
extern inline void __flush_cache_all(void) static inline void __flush_cache_all(void)
{ {
#ifdef CONFIG_M5407 #ifdef CONFIG_M5407
/* /*
...@@ -64,7 +64,7 @@ extern inline void __flush_cache_all(void) ...@@ -64,7 +64,7 @@ extern inline void __flush_cache_all(void)
"nop\n\t" "nop\n\t"
: : : "d0" ); : : : "d0" );
#endif /* CONFIG_M5272 */ #endif /* CONFIG_M5272 */
#if CONFIG_M5249 #ifdef CONFIG_M5249
__asm__ __volatile__ ( __asm__ __volatile__ (
"movel #0xa1000200, %%d0\n\t" "movel #0xa1000200, %%d0\n\t"
"movec %%d0, %%CACR\n\t" "movec %%d0, %%CACR\n\t"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册