sparc: prepare kernel/ for unification
authorSam Ravnborg <sam@ravnborg.org>
Wed, 3 Dec 2008 11:08:37 +0000 (03:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:20 +0000 (09:17 -0800)
commitd670bd4f803c8b646acd20f3ba21e65458293faf
treeeabc30aadce1556023c4aa445c649ba9e1d3f352
parent478b8fecda511942404ac232897a718cecd13e48
sparc: prepare kernel/ for unification

o sparc32 files with identical names to sparc64 renamed to <name>_32.S
o introduced a few Kconfig helpers to simplify Makefile logic
o refactored Makefile to prepare for unification
  - use obj-$(CONFIG_SPARC32) for sparc32 specific files
  - use <name>_$(BITS) for files where sparc64 has a _64 variant
  - sparc64 directly include a few files where sparc32 builds them,
    refer to these files directly (no BITS)
  - sneaked in -Werror as used by sparc64
o modified sparc/Makefile to use the new names for head/init_task

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
53 files changed:
arch/sparc/Kconfig
arch/sparc/Makefile
arch/sparc/kernel/Makefile
arch/sparc/kernel/auxio.c [deleted file]
arch/sparc/kernel/auxio_32.c [new file with mode: 0644]
arch/sparc/kernel/cpu.c [deleted file]
arch/sparc/kernel/cpu_32.c [new file with mode: 0644]
arch/sparc/kernel/etrap.S [deleted file]
arch/sparc/kernel/etrap_32.S [new file with mode: 0644]
arch/sparc/kernel/head.S [deleted file]
arch/sparc/kernel/head_32.S [new file with mode: 0644]
arch/sparc/kernel/idprom.c [deleted file]
arch/sparc/kernel/idprom_32.c [new file with mode: 0644]
arch/sparc/kernel/init_task.c [deleted file]
arch/sparc/kernel/init_task_32.c [new file with mode: 0644]
arch/sparc/kernel/irq.c [deleted file]
arch/sparc/kernel/irq_32.c [new file with mode: 0644]
arch/sparc/kernel/kgdb.c [deleted file]
arch/sparc/kernel/kgdb_32.c [new file with mode: 0644]
arch/sparc/kernel/module.c [deleted file]
arch/sparc/kernel/module_32.c [new file with mode: 0644]
arch/sparc/kernel/of_device.c [deleted file]
arch/sparc/kernel/of_device_32.c [new file with mode: 0644]
arch/sparc/kernel/process.c [deleted file]
arch/sparc/kernel/process_32.c [new file with mode: 0644]
arch/sparc/kernel/prom.c [deleted file]
arch/sparc/kernel/prom_32.c [new file with mode: 0644]
arch/sparc/kernel/ptrace.c [deleted file]
arch/sparc/kernel/ptrace_32.c [new file with mode: 0644]
arch/sparc/kernel/rtrap.S [deleted file]
arch/sparc/kernel/rtrap_32.S [new file with mode: 0644]
arch/sparc/kernel/setup.c [deleted file]
arch/sparc/kernel/setup_32.c [new file with mode: 0644]
arch/sparc/kernel/signal.c [deleted file]
arch/sparc/kernel/signal_32.c [new file with mode: 0644]
arch/sparc/kernel/smp.c [deleted file]
arch/sparc/kernel/smp_32.c [new file with mode: 0644]
arch/sparc/kernel/sparc_ksyms.c [deleted file]
arch/sparc/kernel/sparc_ksyms_32.c [new file with mode: 0644]
arch/sparc/kernel/sys_sparc.c [deleted file]
arch/sparc/kernel/sys_sparc_32.c [new file with mode: 0644]
arch/sparc/kernel/systbls.S [deleted file]
arch/sparc/kernel/systbls_32.S [new file with mode: 0644]
arch/sparc/kernel/time.c [deleted file]
arch/sparc/kernel/time_32.c [new file with mode: 0644]
arch/sparc/kernel/trampoline.S [deleted file]
arch/sparc/kernel/trampoline_32.S [new file with mode: 0644]
arch/sparc/kernel/traps.c [deleted file]
arch/sparc/kernel/traps_32.c [new file with mode: 0644]
arch/sparc/kernel/una_asm.S [deleted file]
arch/sparc/kernel/una_asm_32.S [new file with mode: 0644]
arch/sparc/kernel/unaligned.c [deleted file]
arch/sparc/kernel/unaligned_32.c [new file with mode: 0644]