浏览代码

[XTENSA] Fix icache flush for cache aliasing

Set the execution bit in the temporary TLB when we flush the
instruction cache.

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 17 年之前
父节点
当前提交
0b2c3afdaa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/xtensa/mm/misc.S

+ 1 - 1
arch/xtensa/mm/misc.S

@@ -295,7 +295,7 @@ ENTRY(__tlbtemp_mapping_itlb)
 ENTRY(__invalidate_icache_page_alias)
 	entry	sp, 16
 
-	addi	a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
+	addi	a6, a3, (PAGE_KERNEL_EXEC | _PAGE_HW_WRITE)
 	mov	a4, a2
 	witlb	a6, a2
 	isync