]> 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>
Mon, 16 Apr 2012 05:11:18 +0000 (15:11 +1000)
commitd25eb5882450e117b80d3469d249ee72bb295e0b
tree4ae2b41c8f45f0cd02b59a70b73763611c5cc8ae
parentb04b9e3db8a93512833883b367a02b8beafffd8a
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>
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal_mm.c [deleted file]
arch/m68k/kernel/signal_no.c [deleted file]