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 /include/asm-mips/fpu_emulator.h | |
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 'include/asm-mips/fpu_emulator.h')
-rw-r--r-- | include/asm-mips/fpu_emulator.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/asm-mips/fpu_emulator.h b/include/asm-mips/fpu_emulator.h index 42d883ba1a34..16cb4d11dd0b 100644 --- a/include/asm-mips/fpu_emulator.h +++ b/include/asm-mips/fpu_emulator.h | |||
@@ -23,17 +23,15 @@ | |||
23 | #ifndef _ASM_FPU_EMULATOR_H | 23 | #ifndef _ASM_FPU_EMULATOR_H |
24 | #define _ASM_FPU_EMULATOR_H | 24 | #define _ASM_FPU_EMULATOR_H |
25 | 25 | ||
26 | struct mips_fpu_emulator_private { | 26 | struct mips_fpu_emulator_stats { |
27 | struct { | 27 | unsigned int emulated; |
28 | unsigned int emulated; | 28 | unsigned int loads; |
29 | unsigned int loads; | 29 | unsigned int stores; |
30 | unsigned int stores; | 30 | unsigned int cp1ops; |
31 | unsigned int cp1ops; | 31 | unsigned int cp1xops; |
32 | unsigned int cp1xops; | 32 | unsigned int errors; |
33 | unsigned int errors; | ||
34 | } stats; | ||
35 | }; | 33 | }; |
36 | 34 | ||
37 | extern struct mips_fpu_emulator_private fpuemuprivate; | 35 | extern struct mips_fpu_emulator_stats fpuemustats; |
38 | 36 | ||
39 | #endif /* _ASM_FPU_EMULATOR_H */ | 37 | #endif /* _ASM_FPU_EMULATOR_H */ |