diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-05-11 08:02:48 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:14 -0400 |
commit | 4a99d1e25b98c239d6e746af6f79679c413fb712 (patch) | |
tree | 4a68322a855668b767e211cab8804fd6d01e4097 /arch/mips/math-emu/dsemul.c | |
parent | baee502ce2048aad5ec56acd24c950083a4697e7 (diff) |
Now that a struct is the only member left in struct
mips_fpu_emulator_stats cleanup that unnecessary nesting of structs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/dsemul.c')
-rw-r--r-- | arch/mips/math-emu/dsemul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c index d48bb62495bf..8079f3d1eca0 100644 --- a/arch/mips/math-emu/dsemul.c +++ b/arch/mips/math-emu/dsemul.c | |||
@@ -101,7 +101,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc) | |||
101 | err |= __put_user(cpc, &fr->epc); | 101 | err |= __put_user(cpc, &fr->epc); |
102 | 102 | ||
103 | if (unlikely(err)) { | 103 | if (unlikely(err)) { |
104 | fpuemuprivate.stats.errors++; | 104 | fpuemustats.errors++; |
105 | return SIGBUS; | 105 | return SIGBUS; |
106 | } | 106 | } |
107 | 107 | ||
@@ -138,7 +138,7 @@ int do_dsemulret(struct pt_regs *xcp) | |||
138 | err |= __get_user(cookie, &fr->cookie); | 138 | err |= __get_user(cookie, &fr->cookie); |
139 | 139 | ||
140 | if (unlikely(err || (insn != BADINST) || (cookie != BD_COOKIE))) { | 140 | if (unlikely(err || (insn != BADINST) || (cookie != BD_COOKIE))) { |
141 | fpuemuprivate.stats.errors++; | 141 | fpuemustats.errors++; |
142 | return 0; | 142 | return 0; |
143 | } | 143 | } |
144 | 144 | ||