]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sun, 11 Dec 2011 22:38:17 +0000 (08:38 +1000)
commitbcaa2f53cba312262226c8fed6a545c3a1b9abad
tree6dcb973e61029a7c8ec19d6dc2595b8bc2f4fe2f
parent6424f8c7cbd985ce812feb2da9d4bdc94c9d96cf
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