summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/ucontext.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-11-02 15:44:42 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-12-24 21:47:57 +1000
commit479badc364b52774d77264aaf81f4d4b375a4a97 (patch)
tree8554e492d2b8b7c2295ea62c81047bf680fa5a6e /arch/m68k/include/asm/ucontext.h
parent46729d0eb301f689272c64a9417e7b40038f42a6 (diff)
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>
Diffstat (limited to 'arch/m68k/include/asm/ucontext.h')
-rw-r--r--arch/m68k/include/asm/ucontext.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/ucontext.h b/arch/m68k/include/asm/ucontext.h
index 00dcc5176c57..e4e22669edc0 100644
--- a/arch/m68k/include/asm/ucontext.h
+++ b/arch/m68k/include/asm/ucontext.h
@@ -7,11 +7,7 @@ typedef greg_t gregset_t[NGREG];
typedef struct fpregset {
int f_fpcntl[3];
-#ifdef __mcoldfire__
- int f_fpregs[8][2];
-#else
int f_fpregs[8*3];
-#endif
} fpregset_t;
struct mcontext {