diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-20 15:59:42 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 03:04:25 -0400 |
commit | b69a1da94f3d1589d1942b5d1b384d8cfaac4500 (patch) | |
tree | 7f53683d6f92e1c3e88c4f38590a9b4b8937ddb8 /arch/powerpc | |
parent | 71b540adffd9832e025dd9401178a8ef8c814e50 (diff) |
powerpc: fix typo 'CONFIG_PPC_CPU'
Commit cd64d1697cf0 ("powerpc: mtmsrd not defined") added a check for
CONFIG_PPC_CPU were a check for CONFIG_PPC_FPU was clearly intended.
Fixes: cd64d1697cf0 ("powerpc: mtmsrd not defined")
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/lib/sstep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index c0511c27a733..412dd46dd0b7 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c | |||
@@ -1470,7 +1470,7 @@ int __kprobes emulate_step(struct pt_regs *regs, unsigned int instr) | |||
1470 | regs->gpr[rd] = byterev_4(val); | 1470 | regs->gpr[rd] = byterev_4(val); |
1471 | goto ldst_done; | 1471 | goto ldst_done; |
1472 | 1472 | ||
1473 | #ifdef CONFIG_PPC_CPU | 1473 | #ifdef CONFIG_PPC_FPU |
1474 | case 535: /* lfsx */ | 1474 | case 535: /* lfsx */ |
1475 | case 567: /* lfsux */ | 1475 | case 567: /* lfsux */ |
1476 | if (!(regs->msr & MSR_FP)) | 1476 | if (!(regs->msr & MSR_FP)) |