projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'pm-cpuidle', 'pm-core' and 'pm-sleep'
[linux-2.6-microblaze.git]
/
arch
/
riscv
/
mm
/
cacheflush.c
diff --git
a/arch/riscv/mm/cacheflush.c
b/arch/riscv/mm/cacheflush.c
index
3cc07ed
..
fcd6145
100644
(file)
--- a/
arch/riscv/mm/cacheflush.c
+++ b/
arch/riscv/mm/cacheflush.c
@@
-90,8
+90,10
@@
void flush_icache_pte(pte_t pte)
if (PageHuge(page))
page = compound_head(page);
- if (!test_
and_set_bit(PG_dcache_clean, &page->flags))
+ if (!test_
bit(PG_dcache_clean, &page->flags)) {
flush_icache_all();
+ set_bit(PG_dcache_clean, &page->flags);
+ }
}
#endif /* CONFIG_MMU */