cris: Make THREAD_SIZE available to vmlinux.lds
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Jan 2018 10:39:35 +0000 (10:39 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 8 Jan 2018 10:45:21 +0000 (10:45 +0000)
commit7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a
tree490f9301fe3bbeb7dace5aca359201a88a42f804
parent30a7acd573899fd8b8ac39236eff6468b195ac7d
cris: Make THREAD_SIZE available to vmlinux.lds

Make THREAD_SIZE available to vmlinux.lds on cris by moving it to
asm/thread_info.h and including that from the linker script.

This allows init_stack to be allocated in the linker script in a subsequent
patch.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
cc: Mikael Starvik <starvik@axis.com>
cc: Jesper Nilsson <jesper.nilsson@axis.com>
cc: linux-cris-kernel@axis.com
arch/cris/include/asm/processor.h
arch/cris/include/asm/thread_info.h
arch/cris/kernel/vmlinux.lds.S