|
@@ -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
|
|
* called with either mm->page_table_lock held or ptl lock held
|
|
*/
|
|
*/
|
|
unsigned long access = 0, trap;
|
|
unsigned long access = 0, trap;
|
|
|
|
+ if (radix_enabled())
|
|
|
|
+ return;
|
|
|
|
|
|
/* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */
|
|
/* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */
|
|
if (!pte_young(*ptep) || address >= TASK_SIZE)
|
|
if (!pte_young(*ptep) || address >= TASK_SIZE)
|