]> git.baikalelectronics.ru Git - kernel.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>
Sat, 24 Dec 2011 11:47:56 +0000 (21:47 +1000)
commitcb219904cfa8a4af713a5314c0d6872bef507669
treee6964d749ecf40ab73656ac805a165e10d72cc8a
parent019ae9b953b56c23e7f1ba06ce20f649dd979248
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