m68k: merge the MMU and non-MMU signal.c code
authorGreg Ungerer <gerg@uclinux.org>
Wed, 14 Mar 2012 03:22:25 +0000 (13:22 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 20 May 2012 11:21:08 +0000 (21:21 +1000)
commit0c22fafd312cd8658ca23f6067a20aec0781c02a
tree147230e8fef212a4f80cc0beeb3ad0321129540a
parent36be50515fe2aef61533b516fa2576a2c7fe7664
m68k: merge the MMU and non-MMU signal.c code

The MMU (signal_mm.c) and non-MMU (signal_no.c) versions of the m68k
architecture signal handling code are very similar. Most of their code is
the same.

Merge the two back into a single signal.c, and move some of the code around
inside the file to minimize the number of #ifdefs required. Specificially
we can group out the CONFIG_FPU and the CONFIG_MMU code. We end up needing
a few other "#ifdef CONFIG_MMU" as well, but not too many.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal_mm.c [deleted file]
arch/m68k/kernel/signal_no.c [deleted file]