projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5a0b9
)
sh: Can't compare physical and virtual addresses for aliases
author
Matt Fleming
<matt@console-pimps.org>
Tue, 8 Dec 2009 14:23:11 +0000
(14:23 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 9 Dec 2009 03:34:46 +0000
(12:34 +0900)
It does not make sense to compare virtual and physical addresses for
aliasing, only virtual addresses can be compared for aliases.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh4.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/cache-sh4.c
b/arch/sh/mm/cache-sh4.c
index f36a08bf3d5cd62ba42821e5b511346333206c54..560ddb6bc8a79dd6e480255bb0aefdc45d7ac7f7 100644
(file)
--- a/
arch/sh/mm/cache-sh4.c
+++ b/
arch/sh/mm/cache-sh4.c
@@
-256,8
+256,7
@@
static void sh4_flush_cache_page(void *args)
address = (unsigned long)vaddr;
}
- if (pages_do_alias(address, phys))
- flush_cache_one(CACHE_OC_ADDRESS_ARRAY |
+ flush_cache_one(CACHE_OC_ADDRESS_ARRAY |
(address & shm_align_mask), phys);
if (vma->vm_flags & VM_EXEC)