xtensa: consolidate kernel stack size related definitions
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 4 Dec 2017 18:47:43 +0000 (10:47 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 10 Dec 2017 22:48:55 +0000 (14:48 -0800)
commitf4431396be5b26a9960daf502d129b1b5d126f5e
treef37f6b0f91e8aae16f13622e81a838d7395de957
parent5cf97ebd8b40e2b1791136fc1476d17365864b18
xtensa: consolidate kernel stack size related definitions

Define kernel stack size in kmem_layout and use it in
current_thread_info, GET_THREAD_INFO, THREAD_SIZE and THERAD_SIZE_ORDER
definitions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/current.h
arch/xtensa/include/asm/kmem_layout.h
arch/xtensa/include/asm/ptrace.h
arch/xtensa/include/asm/thread_info.h