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

Commit 9cd5f822 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

sparc32: fix cpuid_patch run-time patching



We hang forever when trying to do run-time patching of instructions
identified by the cpuid_patch section

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 85781499
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -229,6 +229,8 @@ static void __init per_cpu_patch(void)
		*(unsigned int *) (addr + 0) = insns[0];
		*(unsigned int *) (addr + 4) = insns[1];
		*(unsigned int *) (addr + 8) = insns[2];

		p++;
	}
#ifdef CONFIG_SMP
	local_ops->cache_all();