projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5076c15
)
[PARISC] Add parisc implementation of flush_anon_page()
author
James Bottomley
<jejb@parisc-linux.org>
Wed, 22 Mar 2006 15:28:59 +0000
(08:28 -0700)
committer
Kyle McMartin
<kyle@hera.kernel.org>
Thu, 30 Mar 2006 17:48:43 +0000
(17:48 +0000)
This should now allow SG_IO and fuse to function correctly on our
platform.
Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/cacheflush.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-parisc/cacheflush.h
b/include/asm-parisc/cacheflush.h
index c53af9ff41b5f825cfc75bf3fea1bbc786b58c55..482be77551e35007352d1eb62fad151fa4108605 100644
(file)
--- a/
include/asm-parisc/cacheflush.h
+++ b/
include/asm-parisc/cacheflush.h
@@
-184,6
+184,14
@@
flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long
}
+static inline void
+flush_anon_page(struct page *page, unsigned long vmaddr)
+{
+ if (PageAnon(page))
+ flush_user_dcache_page(vmaddr);
+}
+#define ARCH_HAS_FLUSH_ANON_PAGE
+
#ifdef CONFIG_DEBUG_RODATA
void mark_rodata_ro(void);
#endif