You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
sh: Better description of SH-4 PTEA register update.
Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
committed by
Paul Mundt
parent
5c9740a8b7
commit
6503fe4a65
@@ -61,9 +61,12 @@ void update_mmu_cache(struct vm_area_struct * vma,
|
||||
*/
|
||||
ctrl_outl(pte.pte_high, MMU_PTEA);
|
||||
#else
|
||||
if (cpu_data->flags & CPU_HAS_PTEA)
|
||||
/* TODO: make this look less hacky */
|
||||
ctrl_outl(((pteval >> 28) & 0xe) | (pteval & 0x1), MMU_PTEA);
|
||||
if (cpu_data->flags & CPU_HAS_PTEA) {
|
||||
/* The last 3 bits and the first one of pteval contains
|
||||
* the PTEA timing control and space attribute bits
|
||||
*/
|
||||
ctrl_outl(copy_ptea_attributes(pteval), MMU_PTEA);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Set PTEL register */
|
||||
|
||||
Reference in New Issue
Block a user