]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: remove thread_info struct from thread struct
authorGreg Ungerer <gerg@uclinux.org>
Fri, 2 Sep 2011 04:29:34 +0000 (14:29 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 24 Nov 2011 22:54:59 +0000 (08:54 +1000)
commit776ff7d9a6ca0c1e6e39f187feeee0d7cfa4f3bf
tree3324ebc7c5e0dc5ca8cee4c288b8750a064da6f7
parent85ac593294c58a3e47b910ef5d12abd16291bcd5
m68k: remove thread_info struct from thread struct

Currently on m68k we have a comeplete thread_info structure stored inside
of the thread_struct, and we also have it in the initial part of the kernel
stack. Mostly the code currently uses the one inside of the thread_struct,
only using the "task" pointer from the stack based one.

This is wasteful and confusing, we should only have the single instance of
thread_info inside the stack page. And this is the norm for all other
architectures.

This change makes m68k handle thread_info consistently on both MMU enabled
and non-MMU setups.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/processor.h
arch/m68k/include/asm/thread_info.h
arch/m68k/kernel/asm-offsets.c
arch/m68k/kernel/entry_mm.S