diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-08-30 08:11:05 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-12-24 12:47:56 +0100 |
commit | 409ee2455c95495e182379883a568df1d40f5864 (patch) | |
tree | e6964d749ecf40ab73656ac805a165e10d72cc8a /arch/m68k/kernel/Makefile | |
parent | m68knommu: remove unused fasthandler declaration (diff) | |
download | linux-409ee2455c95495e182379883a568df1d40f5864.tar.xz linux-409ee2455c95495e182379883a568df1d40f5864.zip |
m68k: merge the init_task code for mmu and non-mmu targets
The init_task code can be the same for both mmu and non-mmu targets.
None of the alignment carried out in the the current init_task code
is necessary. The linker script takes care of aligning the init_thread
structure to a THREAD SIZE boundary, and that is all we need.
So use the init_task.c code for all target types, that makes m68k
code consistent with what most other architectures do.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/Makefile')
-rw-r--r-- | arch/m68k/kernel/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/m68k/kernel/Makefile b/arch/m68k/kernel/Makefile index c5696193281a..ea0a39671438 100644 --- a/arch/m68k/kernel/Makefile +++ b/arch/m68k/kernel/Makefile @@ -6,15 +6,12 @@ extra-$(CONFIG_MMU) := head.o extra-$(CONFIG_SUN3) := sun3-head.o extra-y += vmlinux.lds -obj-y := entry.o irq.o m68k_ksyms.o module.o process.o ptrace.o setup.o \ - signal.o sys_m68k.o syscalltable.o time.o traps.o +obj-y := entry.o init_task.o irq.o m68k_ksyms.o module.o process.o ptrace.o +obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o obj-$(CONFIG_MMU) += ints.o vectors.o ifndef CONFIG_MMU_SUN3 obj-y += dma.o endif -ifndef CONFIG_MMU -obj-y += init_task.o -endif |