From 4d72a17a86e8000b5632a36618a6c563e98faa30 Mon Sep 17 00:00:00 2001 From: Liu Yu Date: Mon, 5 Sep 2011 17:01:23 +0800 Subject: [PATCH] --- yaml --- r: 274218 b: refs/heads/master c: 09af52f78e58d9aee0980276833bf3adee3ed07b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/math-emu/math_efp.c | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 183efa81f37e..be78a7f12e72 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d5755e6f3a412f012377e28b655d89eff3311f1c +refs/heads/master: 09af52f78e58d9aee0980276833bf3adee3ed07b diff --git a/trunk/arch/powerpc/math-emu/math_efp.c b/trunk/arch/powerpc/math-emu/math_efp.c index 96dbbae1a590..a73f0884d358 100644 --- a/trunk/arch/powerpc/math-emu/math_efp.c +++ b/trunk/arch/powerpc/math-emu/math_efp.c @@ -171,10 +171,6 @@ static unsigned long insn_type(unsigned long speinsn) case EFDNABS: ret = XA; break; case EFDNEG: ret = XA; break; case EFDSUB: ret = AB; break; - - default: - printk(KERN_ERR "\nOoops! SPE instruction no type found."); - printk(KERN_ERR "\ninst code: %08lx\n", speinsn); } return ret; @@ -195,7 +191,7 @@ int do_spe_mathemu(struct pt_regs *regs) type = insn_type(speinsn); if (type == NOTYPE) - return -ENOSYS; + goto illegal; func = speinsn & 0x7ff; fc = (speinsn >> 21) & 0x1f;