]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 3 Apr 2012 04:19:31 +0000 (14:19 +1000)
commitde6bd4f40385ec4184d8c9e759b91348631a9322
tree215a9078fff05970076abc1c3f10531314cbc3f8
parent79a3b9ce4a8a2c774b1f53870cddabadc87da92b
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 there 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>
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal_mm.c [deleted file]
arch/m68k/kernel/signal_no.c [deleted file]