diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-20 19:59:42 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 07:04:25 (GMT) |
commit | b69a1da94f3d1589d1942b5d1b384d8cfaac4500 (patch) | |
tree | 7f53683d6f92e1c3e88c4f38590a9b4b8937ddb8 /arch | |
parent | 71b540adffd9832e025dd9401178a8ef8c814e50 (diff) | |
download | linux-b69a1da94f3d1589d1942b5d1b384d8cfaac4500.tar.xz |
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')
-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 c0511c2..412dd46 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) 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)) |