OSDN Git Service

m68k: merge the init_task code for mmu and non-mmu targets
authorGreg Ungerer <gerg@uclinux.org>
Tue, 30 Aug 2011 06:11:05 +0000 (16:11 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sat, 24 Dec 2011 11:47:56 +0000 (21:47 +1000)
commit409ee2455c95495e182379883a568df1d40f5864
treee6964d749ecf40ab73656ac805a165e10d72cc8a
parented3da2c443e8d566a8eb0ab86069aefc7e928c74
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>
arch/m68k/kernel/Makefile
arch/m68k/kernel/init_task.c
arch/m68k/kernel/process_mm.c