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

Commit a53affb5 authored by Arun KS's avatar Arun KS
Browse files

arm64: Fix size of __early_cpu_boot_status



__early_cpu_boot_status is of type long. '.long' directive
generates a 32 bit value. Writes to this variable overwrites
32 bits of following adjacent variable and cause corruption.
Use quad assembler directive to allocate 64 bit value.

Change-Id: Ia0953b614ab880302459a279d72b32ce7b016b55
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent 08bcf26b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -566,7 +566,7 @@ ENTRY(__boot_cpu_mode)
 * with MMU turned off.
 */
ENTRY(__early_cpu_boot_status)
	.long 	0
	.quad 	0

	.popsection