mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
sh: Can't compare physical and virtual addresses for aliases
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>
This commit is contained in:
parent
6a5a0b9139
commit
e717cc6c07
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user