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

Commit 267ab485 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Anji Jonnala
Browse files

arm64: cache: fix bug in louis API.



flush_cache_louis API lost track of return address, store the lr
and retrieve it back.

Change-Id: Idca29b43abe3fa35cbc23f0299b2f74b3bf6d911
Signed-off-by: default avatarAnji Jonnala <anjir@codeaurora.org>
parent c867a83c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -51,10 +51,11 @@ ENDPROC(flush_dcache_louis)
 *     Invalidate the I-cache to the point of unification.
 */
ENTRY(flush_cache_louis)
	mov	x12, lr
	bl	flush_dcache_louis
	mov	x0, #0
	ic	ialluis				// I+BTB cache invalidate
	ret
	ret x12
ENDPROC(flush_cache_louis)

/*