projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fbdev: Sanitize ->fb_mmap prototype
[powerpc.git]
/
include
/
asm-m68knommu
/
cacheflush.h
diff --git
a/include/asm-m68knommu/cacheflush.h
b/include/asm-m68knommu/cacheflush.h
index
026bbc9
..
49925e9
100644
(file)
--- a/
include/asm-m68knommu/cacheflush.h
+++ b/
include/asm-m68knommu/cacheflush.h
@@
-25,7
+25,7
@@
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \
memcpy(dst, src, len)
#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
/*
{
#ifdef CONFIG_M5407
/*
@@
-64,7
+64,7
@@
extern inline void __flush_cache_all(void)
"nop\n\t"
: : : "d0" );
#endif /* CONFIG_M5272 */
"nop\n\t"
: : : "d0" );
#endif /* CONFIG_M5272 */
-#if CONFIG_M5249
+#if
def
CONFIG_M5249
__asm__ __volatile__ (
"movel #0xa1000200, %%d0\n\t"
"movec %%d0, %%CACR\n\t"
__asm__ __volatile__ (
"movel #0xa1000200, %%d0\n\t"
"movec %%d0, %%CACR\n\t"