]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb2654d017a6f8744cc3eabbc96716cc2f30ba39
tree147230e8fef212a4f80cc0beeb3ad0321129540a
parent2b84fd49a1b2c18db87255a004b658e1b29692f9
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]