Skip to content

Commit

Permalink
[PATCH] m68knommu: enable cache support code for ColdFIre 5249
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Nov 7, 2005
1 parent 4e51f67 commit 3dead1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-m68knommu/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
/*
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 3dead1a

Please sign in to comment.