Skip to content

Commit

Permalink
powerpc: fix typo 'CONFIG_PPC_CPU'
Browse files Browse the repository at this point in the history
Commit cd64d16 ("powerpc: mtmsrd not defined") added a check for
CONFIG_PPC_CPU were a check for CONFIG_PPC_FPU was clearly intended.

Fixes: cd64d16 ("powerpc: mtmsrd not defined")
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Paul Bolle authored and Benjamin Herrenschmidt committed Jun 11, 2014
1 parent 71b540a commit b69a1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/lib/sstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ int __kprobes emulate_step(struct pt_regs *regs, unsigned int instr)
regs->gpr[rd] = byterev_4(val);
goto ldst_done;

#ifdef CONFIG_PPC_CPU
#ifdef CONFIG_PPC_FPU
case 535: /* lfsx */
case 567: /* lfsux */
if (!(regs->msr & MSR_FP))
Expand Down

0 comments on commit b69a1da

Please sign in to comment.