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

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
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment