sh: Fixup cpu_data references for the non-boot CPUs.
There are a lot of bogus cpu_data-> references that only end up working for the boot CPU, convert these to current_cpu_data to fixup SMP. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
此提交包含在:
@@ -641,7 +641,7 @@ int is_dsp_inst(struct pt_regs *regs)
|
||||
* Safe guard if DSP mode is already enabled or we're lacking
|
||||
* the DSP altogether.
|
||||
*/
|
||||
if (!(cpu_data->flags & CPU_HAS_DSP) || (regs->sr & SR_DSP))
|
||||
if (!(current_cpu_data.flags & CPU_HAS_DSP) || (regs->sr & SR_DSP))
|
||||
return 0;
|
||||
|
||||
get_user(inst, ((unsigned short *) regs->pc));
|
||||
|
新增問題並參考
封鎖使用者