projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a9996
)
powerpc/radix: Update MMU cache
author
Aneesh Kumar K.V
<
[email protected]
>
Fri, 29 Apr 2016 13:26:22 +0000
(23:26 +1000)
committer
Michael Ellerman
<
[email protected]
>
Wed, 11 May 2016 11:53:53 +0000
(21:53 +1000)
With radix there is no MMU cache. Hence we don't need to do anything in
update_mmu_cache().
Signed-off-by: Aneesh Kumar K.V <
[email protected]
>
Acked-by: Balbir Singh <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/mm/mem.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/mem.c
b/arch/powerpc/mm/mem.c
index ac79dbde1015ba090e30718c77759c4ec10498ed..89677884ecc85e35a1f524aec3143d22b8df631e 100644
(file)
--- a/
arch/powerpc/mm/mem.c
+++ b/
arch/powerpc/mm/mem.c
@@
-499,6
+499,8
@@
void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
* called with either mm->page_table_lock held or ptl lock held
*/
unsigned long access = 0, trap;
+ if (radix_enabled())
+ return;
/* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */
if (!pte_young(*ptep) || address >= TASK_SIZE)