m68k: merge m68k and m68knommu arch directories
authorGreg Ungerer <gerg@uclinux.org>
Tue, 22 Mar 2011 03:39:27 +0000 (13:39 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 25 Mar 2011 04:05:13 +0000 (14:05 +1000)
commit66d857b08b8c3ed5c72c361f863cce77d2a978d7
tree47222d86f4d78dc0da31baf64188bd2e4b38ac1e
parentd39dd11c3e6a7af5c20bfac40594db36cf270f42
m68k: merge m68k and m68knommu arch directories

There is a lot of common code that could be shared between the m68k
and m68knommu arch branches. It makes sense to merge the two branches
into a single directory structure so that we can more easily share
that common code.

This is a brute force merge, based on a script from Stephen King
<sfking@fdwdc.com>, which was originally written by Arnd Bergmann
<arnd@arndb.de>.

> The script was inspired by the script Sam Ravnborg used to merge the
> includes from m68knommu. For those files common to both arches but
> differing in content, the m68k version of the file is renamed to
> <file>_mm.<ext> and the m68knommu version of the file is moved into the
> corresponding m68k directory and renamed <file>_no.<ext> and a small
> wrapper file <file>.<ext> is used to select between the two version. Files
> that are common to both but don't differ are removed from the m68knommu
> tree and files and directories that are unique to the m68knommu tree are
> moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
>
> To select between the the versions of the files, the wrapper uses
>
> #ifdef CONFIG_MMU
> #include <file>_mm.<ext>
> #else
> #include <file>_no.<ext>
> #endif

On top of this file merge I have done a simplistic merge of m68k and
m68knommu Kconfig, which primarily attempts to keep existing options and
menus in place. Other than a handful of options being moved it produces
identical .config outputs on m68k and m68knommu targets I tested it on.

With this in place there is now quite a bit of scope for merge cleanups
in future patches.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
291 files changed:
arch/m68k/Kconfig
arch/m68k/Kconfig.debug
arch/m68k/Kconfig.mmu [new file with mode: 0644]
arch/m68k/Kconfig.nommu [new file with mode: 0644]
arch/m68k/Makefile
arch/m68k/Makefile_mm [new file with mode: 0644]
arch/m68k/Makefile_no [new file with mode: 0644]
arch/m68k/configs/m5208evb_defconfig [new file with mode: 0644]
arch/m68k/configs/m5249evb_defconfig [new file with mode: 0644]
arch/m68k/configs/m5272c3_defconfig [new file with mode: 0644]
arch/m68k/configs/m5275evb_defconfig [new file with mode: 0644]
arch/m68k/configs/m5307c3_defconfig [new file with mode: 0644]
arch/m68k/configs/m5407c3_defconfig [new file with mode: 0644]
arch/m68k/kernel/Makefile
arch/m68k/kernel/Makefile_mm [new file with mode: 0644]
arch/m68k/kernel/Makefile_no [new file with mode: 0644]
arch/m68k/kernel/asm-offsets.c
arch/m68k/kernel/asm-offsets_mm.c [new file with mode: 0644]
arch/m68k/kernel/asm-offsets_no.c [new file with mode: 0644]
arch/m68k/kernel/dma.c
arch/m68k/kernel/dma_mm.c [new file with mode: 0644]
arch/m68k/kernel/dma_no.c [new file with mode: 0644]
arch/m68k/kernel/entry.S
arch/m68k/kernel/entry_mm.S [new file with mode: 0644]
arch/m68k/kernel/entry_no.S [new file with mode: 0644]
arch/m68k/kernel/init_task.c [new file with mode: 0644]
arch/m68k/kernel/irq.c [new file with mode: 0644]
arch/m68k/kernel/m68k_ksyms.c
arch/m68k/kernel/m68k_ksyms_mm.c [new file with mode: 0644]
arch/m68k/kernel/m68k_ksyms_no.c [new file with mode: 0644]
arch/m68k/kernel/module.c
arch/m68k/kernel/module_mm.c [new file with mode: 0644]
arch/m68k/kernel/module_no.c [new file with mode: 0644]
arch/m68k/kernel/process.c
arch/m68k/kernel/process_mm.c [new file with mode: 0644]
arch/m68k/kernel/process_no.c [new file with mode: 0644]
arch/m68k/kernel/ptrace.c
arch/m68k/kernel/ptrace_mm.c [new file with mode: 0644]
arch/m68k/kernel/ptrace_no.c [new file with mode: 0644]
arch/m68k/kernel/setup.c
arch/m68k/kernel/setup_mm.c [new file with mode: 0644]
arch/m68k/kernel/setup_no.c [new file with mode: 0644]
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal_mm.c [new file with mode: 0644]
arch/m68k/kernel/signal_no.c [new file with mode: 0644]
arch/m68k/kernel/sys_m68k.c
arch/m68k/kernel/sys_m68k_mm.c [new file with mode: 0644]
arch/m68k/kernel/sys_m68k_no.c [new file with mode: 0644]
arch/m68k/kernel/syscalltable.S [new file with mode: 0644]
arch/m68k/kernel/time.c
arch/m68k/kernel/time_mm.c [new file with mode: 0644]
arch/m68k/kernel/time_no.c [new file with mode: 0644]
arch/m68k/kernel/traps.c
arch/m68k/kernel/traps_mm.c [new file with mode: 0644]
arch/m68k/kernel/traps_no.c [new file with mode: 0644]
arch/m68k/kernel/vmlinux.lds.S
arch/m68k/kernel/vmlinux.lds_mm.S [new file with mode: 0644]
arch/m68k/kernel/vmlinux.lds_no.S [new file with mode: 0644]
arch/m68k/lib/Makefile
arch/m68k/lib/Makefile_mm [new file with mode: 0644]
arch/m68k/lib/Makefile_no [new file with mode: 0644]
arch/m68k/lib/checksum.c
arch/m68k/lib/checksum_mm.c [new file with mode: 0644]
arch/m68k/lib/checksum_no.c [new file with mode: 0644]
arch/m68k/lib/delay.c [new file with mode: 0644]
arch/m68k/lib/divsi3.S [new file with mode: 0644]
arch/m68k/lib/memcpy.c [new file with mode: 0644]
arch/m68k/lib/memmove.c [new file with mode: 0644]
arch/m68k/lib/memset.c [new file with mode: 0644]
arch/m68k/lib/modsi3.S [new file with mode: 0644]
arch/m68k/lib/muldi3.c
arch/m68k/lib/muldi3_mm.c [new file with mode: 0644]
arch/m68k/lib/muldi3_no.c [new file with mode: 0644]
arch/m68k/lib/mulsi3.S [new file with mode: 0644]
arch/m68k/lib/udivsi3.S [new file with mode: 0644]
arch/m68k/lib/umodsi3.S [new file with mode: 0644]
arch/m68k/mm/Makefile
arch/m68k/mm/Makefile_mm [new file with mode: 0644]
arch/m68k/mm/Makefile_no [new file with mode: 0644]
arch/m68k/mm/init.c
arch/m68k/mm/init_mm.c [new file with mode: 0644]
arch/m68k/mm/init_no.c [new file with mode: 0644]
arch/m68k/mm/kmap.c
arch/m68k/mm/kmap_mm.c [new file with mode: 0644]
arch/m68k/mm/kmap_no.c [new file with mode: 0644]
arch/m68k/platform/5206/Makefile [new file with mode: 0644]
arch/m68k/platform/5206/config.c [new file with mode: 0644]
arch/m68k/platform/5206/gpio.c [new file with mode: 0644]
arch/m68k/platform/5206e/Makefile [new file with mode: 0644]
arch/m68k/platform/5206e/config.c [new file with mode: 0644]
arch/m68k/platform/5206e/gpio.c [new file with mode: 0644]
arch/m68k/platform/520x/Makefile [new file with mode: 0644]
arch/m68k/platform/520x/config.c [new file with mode: 0644]
arch/m68k/platform/520x/gpio.c [new file with mode: 0644]
arch/m68k/platform/523x/Makefile [new file with mode: 0644]
arch/m68k/platform/523x/config.c [new file with mode: 0644]
arch/m68k/platform/523x/gpio.c [new file with mode: 0644]
arch/m68k/platform/5249/Makefile [new file with mode: 0644]
arch/m68k/platform/5249/config.c [new file with mode: 0644]
arch/m68k/platform/5249/gpio.c [new file with mode: 0644]
arch/m68k/platform/5249/intc2.c [new file with mode: 0644]
arch/m68k/platform/5272/Makefile [new file with mode: 0644]
arch/m68k/platform/5272/config.c [new file with mode: 0644]
arch/m68k/platform/5272/gpio.c [new file with mode: 0644]
arch/m68k/platform/5272/intc.c [new file with mode: 0644]
arch/m68k/platform/527x/Makefile [new file with mode: 0644]
arch/m68k/platform/527x/config.c [new file with mode: 0644]
arch/m68k/platform/527x/gpio.c [new file with mode: 0644]
arch/m68k/platform/528x/Makefile [new file with mode: 0644]
arch/m68k/platform/528x/config.c [new file with mode: 0644]
arch/m68k/platform/528x/gpio.c [new file with mode: 0644]
arch/m68k/platform/5307/Makefile [new file with mode: 0644]
arch/m68k/platform/5307/config.c [new file with mode: 0644]
arch/m68k/platform/5307/gpio.c [new file with mode: 0644]
arch/m68k/platform/5307/nettel.c [new file with mode: 0644]
arch/m68k/platform/532x/Makefile [new file with mode: 0644]
arch/m68k/platform/532x/config.c [new file with mode: 0644]
arch/m68k/platform/532x/gpio.c [new file with mode: 0644]
arch/m68k/platform/5407/Makefile [new file with mode: 0644]
arch/m68k/platform/5407/config.c [new file with mode: 0644]
arch/m68k/platform/5407/gpio.c [new file with mode: 0644]
arch/m68k/platform/54xx/Makefile [new file with mode: 0644]
arch/m68k/platform/54xx/config.c [new file with mode: 0644]
arch/m68k/platform/54xx/firebee.c [new file with mode: 0644]
arch/m68k/platform/68328/Makefile [new file with mode: 0644]
arch/m68k/platform/68328/bootlogo.h [new file with mode: 0644]
arch/m68k/platform/68328/bootlogo.pl [new file with mode: 0644]
arch/m68k/platform/68328/config.c [new file with mode: 0644]
arch/m68k/platform/68328/entry.S [new file with mode: 0644]
arch/m68k/platform/68328/head-de2.S [new file with mode: 0644]
arch/m68k/platform/68328/head-pilot.S [new file with mode: 0644]
arch/m68k/platform/68328/head-ram.S [new file with mode: 0644]
arch/m68k/platform/68328/head-rom.S [new file with mode: 0644]
arch/m68k/platform/68328/ints.c [new file with mode: 0644]
arch/m68k/platform/68328/romvec.S [new file with mode: 0644]
arch/m68k/platform/68328/timers.c [new file with mode: 0644]
arch/m68k/platform/68360/Makefile [new file with mode: 0644]
arch/m68k/platform/68360/commproc.c [new file with mode: 0644]
arch/m68k/platform/68360/config.c [new file with mode: 0644]
arch/m68k/platform/68360/entry.S [new file with mode: 0644]
arch/m68k/platform/68360/head-ram.S [new file with mode: 0644]
arch/m68k/platform/68360/head-rom.S [new file with mode: 0644]
arch/m68k/platform/68360/ints.c [new file with mode: 0644]
arch/m68k/platform/68EZ328/Makefile [new file with mode: 0644]
arch/m68k/platform/68EZ328/bootlogo.h [new file with mode: 0644]
arch/m68k/platform/68EZ328/config.c [new file with mode: 0644]
arch/m68k/platform/68VZ328/Makefile [new file with mode: 0644]
arch/m68k/platform/68VZ328/config.c [new file with mode: 0644]
arch/m68k/platform/Makefile [new file with mode: 0644]
arch/m68k/platform/coldfire/Makefile [new file with mode: 0644]
arch/m68k/platform/coldfire/cache.c [new file with mode: 0644]
arch/m68k/platform/coldfire/clk.c [new file with mode: 0644]
arch/m68k/platform/coldfire/dma.c [new file with mode: 0644]
arch/m68k/platform/coldfire/dma_timer.c [new file with mode: 0644]
arch/m68k/platform/coldfire/entry.S [new file with mode: 0644]
arch/m68k/platform/coldfire/gpio.c [new file with mode: 0644]
arch/m68k/platform/coldfire/head.S [new file with mode: 0644]
arch/m68k/platform/coldfire/intc-2.c [new file with mode: 0644]
arch/m68k/platform/coldfire/intc-simr.c [new file with mode: 0644]
arch/m68k/platform/coldfire/intc.c [new file with mode: 0644]
arch/m68k/platform/coldfire/pinmux.c [new file with mode: 0644]
arch/m68k/platform/coldfire/pit.c [new file with mode: 0644]
arch/m68k/platform/coldfire/sltimers.c [new file with mode: 0644]
arch/m68k/platform/coldfire/timers.c [new file with mode: 0644]
arch/m68k/platform/coldfire/vectors.c [new file with mode: 0644]
arch/m68knommu/Kconfig [deleted file]
arch/m68knommu/Kconfig.debug [deleted file]
arch/m68knommu/Makefile [deleted file]
arch/m68knommu/configs/m5208evb_defconfig [deleted file]
arch/m68knommu/configs/m5249evb_defconfig [deleted file]
arch/m68knommu/configs/m5272c3_defconfig [deleted file]
arch/m68knommu/configs/m5275evb_defconfig [deleted file]
arch/m68knommu/configs/m5307c3_defconfig [deleted file]
arch/m68knommu/configs/m5407c3_defconfig [deleted file]
arch/m68knommu/defconfig [deleted file]
arch/m68knommu/kernel/.gitignore [deleted file]
arch/m68knommu/kernel/Makefile [deleted file]
arch/m68knommu/kernel/asm-offsets.c [deleted file]
arch/m68knommu/kernel/dma.c [deleted file]
arch/m68knommu/kernel/entry.S [deleted file]
arch/m68knommu/kernel/init_task.c [deleted file]
arch/m68knommu/kernel/irq.c [deleted file]
arch/m68knommu/kernel/m68k_ksyms.c [deleted file]
arch/m68knommu/kernel/module.c [deleted file]
arch/m68knommu/kernel/process.c [deleted file]
arch/m68knommu/kernel/ptrace.c [deleted file]
arch/m68knommu/kernel/setup.c [deleted file]
arch/m68knommu/kernel/signal.c [deleted file]
arch/m68knommu/kernel/sys_m68k.c [deleted file]
arch/m68knommu/kernel/syscalltable.S [deleted file]
arch/m68knommu/kernel/time.c [deleted file]
arch/m68knommu/kernel/traps.c [deleted file]
arch/m68knommu/kernel/vmlinux.lds.S [deleted file]
arch/m68knommu/lib/Makefile [deleted file]
arch/m68knommu/lib/ashldi3.c [deleted file]
arch/m68knommu/lib/ashrdi3.c [deleted file]
arch/m68knommu/lib/checksum.c [deleted file]
arch/m68knommu/lib/delay.c [deleted file]
arch/m68knommu/lib/divsi3.S [deleted file]
arch/m68knommu/lib/lshrdi3.c [deleted file]
arch/m68knommu/lib/memcpy.c [deleted file]
arch/m68knommu/lib/memmove.c [deleted file]
arch/m68knommu/lib/memset.c [deleted file]
arch/m68knommu/lib/modsi3.S [deleted file]
arch/m68knommu/lib/muldi3.c [deleted file]
arch/m68knommu/lib/mulsi3.S [deleted file]
arch/m68knommu/lib/udivsi3.S [deleted file]
arch/m68knommu/lib/umodsi3.S [deleted file]
arch/m68knommu/mm/Makefile [deleted file]
arch/m68knommu/mm/init.c [deleted file]
arch/m68knommu/mm/kmap.c [deleted file]
arch/m68knommu/platform/5206/Makefile [deleted file]
arch/m68knommu/platform/5206/config.c [deleted file]
arch/m68knommu/platform/5206/gpio.c [deleted file]
arch/m68knommu/platform/5206e/Makefile [deleted file]
arch/m68knommu/platform/5206e/config.c [deleted file]
arch/m68knommu/platform/5206e/gpio.c [deleted file]
arch/m68knommu/platform/520x/Makefile [deleted file]
arch/m68knommu/platform/520x/config.c [deleted file]
arch/m68knommu/platform/520x/gpio.c [deleted file]
arch/m68knommu/platform/523x/Makefile [deleted file]
arch/m68knommu/platform/523x/config.c [deleted file]
arch/m68knommu/platform/523x/gpio.c [deleted file]
arch/m68knommu/platform/5249/Makefile [deleted file]
arch/m68knommu/platform/5249/config.c [deleted file]
arch/m68knommu/platform/5249/gpio.c [deleted file]
arch/m68knommu/platform/5249/intc2.c [deleted file]
arch/m68knommu/platform/5272/Makefile [deleted file]
arch/m68knommu/platform/5272/config.c [deleted file]
arch/m68knommu/platform/5272/gpio.c [deleted file]
arch/m68knommu/platform/5272/intc.c [deleted file]
arch/m68knommu/platform/527x/Makefile [deleted file]
arch/m68knommu/platform/527x/config.c [deleted file]
arch/m68knommu/platform/527x/gpio.c [deleted file]
arch/m68knommu/platform/528x/Makefile [deleted file]
arch/m68knommu/platform/528x/config.c [deleted file]
arch/m68knommu/platform/528x/gpio.c [deleted file]
arch/m68knommu/platform/5307/Makefile [deleted file]
arch/m68knommu/platform/5307/config.c [deleted file]
arch/m68knommu/platform/5307/gpio.c [deleted file]
arch/m68knommu/platform/5307/nettel.c [deleted file]
arch/m68knommu/platform/532x/Makefile [deleted file]
arch/m68knommu/platform/532x/config.c [deleted file]
arch/m68knommu/platform/532x/gpio.c [deleted file]
arch/m68knommu/platform/5407/Makefile [deleted file]
arch/m68knommu/platform/5407/config.c [deleted file]
arch/m68knommu/platform/5407/gpio.c [deleted file]
arch/m68knommu/platform/54xx/Makefile [deleted file]
arch/m68knommu/platform/54xx/config.c [deleted file]
arch/m68knommu/platform/54xx/firebee.c [deleted file]
arch/m68knommu/platform/68328/Makefile [deleted file]
arch/m68knommu/platform/68328/bootlogo.h [deleted file]
arch/m68knommu/platform/68328/bootlogo.pl [deleted file]
arch/m68knommu/platform/68328/config.c [deleted file]
arch/m68knommu/platform/68328/entry.S [deleted file]
arch/m68knommu/platform/68328/head-de2.S [deleted file]
arch/m68knommu/platform/68328/head-pilot.S [deleted file]
arch/m68knommu/platform/68328/head-ram.S [deleted file]
arch/m68knommu/platform/68328/head-rom.S [deleted file]
arch/m68knommu/platform/68328/ints.c [deleted file]
arch/m68knommu/platform/68328/romvec.S [deleted file]
arch/m68knommu/platform/68328/timers.c [deleted file]
arch/m68knommu/platform/68360/Makefile [deleted file]
arch/m68knommu/platform/68360/commproc.c [deleted file]
arch/m68knommu/platform/68360/config.c [deleted file]
arch/m68knommu/platform/68360/entry.S [deleted file]
arch/m68knommu/platform/68360/head-ram.S [deleted file]
arch/m68knommu/platform/68360/head-rom.S [deleted file]
arch/m68knommu/platform/68360/ints.c [deleted file]
arch/m68knommu/platform/68EZ328/Makefile [deleted file]
arch/m68knommu/platform/68EZ328/bootlogo.h [deleted file]
arch/m68knommu/platform/68EZ328/config.c [deleted file]
arch/m68knommu/platform/68VZ328/Makefile [deleted file]
arch/m68knommu/platform/68VZ328/config.c [deleted file]
arch/m68knommu/platform/Makefile [deleted file]
arch/m68knommu/platform/coldfire/Makefile [deleted file]
arch/m68knommu/platform/coldfire/cache.c [deleted file]
arch/m68knommu/platform/coldfire/clk.c [deleted file]
arch/m68knommu/platform/coldfire/dma.c [deleted file]
arch/m68knommu/platform/coldfire/dma_timer.c [deleted file]
arch/m68knommu/platform/coldfire/entry.S [deleted file]
arch/m68knommu/platform/coldfire/gpio.c [deleted file]
arch/m68knommu/platform/coldfire/head.S [deleted file]
arch/m68knommu/platform/coldfire/intc-2.c [deleted file]
arch/m68knommu/platform/coldfire/intc-simr.c [deleted file]
arch/m68knommu/platform/coldfire/intc.c [deleted file]
arch/m68knommu/platform/coldfire/pinmux.c [deleted file]
arch/m68knommu/platform/coldfire/pit.c [deleted file]
arch/m68knommu/platform/coldfire/sltimers.c [deleted file]
arch/m68knommu/platform/coldfire/timers.c [deleted file]
arch/m68knommu/platform/coldfire/vectors.c [deleted file]