Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78305c86 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

ARM: 7652/1: mm: fix missing use of 'asid' to get asid value from mm->context.id



Fix missing use of the asid macro when getting the ASID from the mm->context.id field.

Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 30a1b5ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
ENTRY(cpu_v7_switch_mm)
#ifdef CONFIG_MMU
	mmid	r1, r1				@ get mm->context.id
	and	r3, r1, #0xff
	asid	r3, r1
	mov	r3, r3, lsl #(48 - 32)		@ ASID
	mcrr	p15, 0, r0, r3, c2		@ set TTB 0
	isb