Commit 479badc364b52774d77264aaf81f4d4b375a4a97
1 parent
46729d0eb3
Exists in
master
and in
6 other branches
m68k: make fp register stores consistent for m68k and ColdFire
There is no reason we can't make the saved fp registers the same for all m68k types and ColdFire. There is a little wasted space, but the code consistency and cleanliness is a big win. sigcontext.h is an exported header, but currently there is no in-mainline users of the !__uClinux__ and __mcoldfire__ case that this change effects. Even better this change actually makes this structure consistent with the out-of-mainline ColdFire/MMU code. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Showing 2 changed files with 0 additions and 8 deletions Side-by-side Diff
arch/m68k/include/asm/sigcontext.h
... | ... | @@ -15,11 +15,7 @@ |
15 | 15 | unsigned long sc_pc; |
16 | 16 | unsigned short sc_formatvec; |
17 | 17 | #ifndef __uClinux__ |
18 | -# ifdef __mcoldfire__ | |
19 | - unsigned long sc_fpregs[2][2]; /* room for two fp registers */ | |
20 | -# else | |
21 | 18 | unsigned long sc_fpregs[2*3]; /* room for two fp registers */ |
22 | -# endif | |
23 | 19 | unsigned long sc_fpcntl[3]; |
24 | 20 | unsigned char sc_fpstate[216]; |
25 | 21 | #endif |