OSDN Git Service

hexagon: Make THREAD_SIZE available to vmlinux.lds
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Jan 2018 10:45:03 +0000 (10:45 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 9 Jan 2018 22:01:39 +0000 (22:01 +0000)
commit0b04ea6822936757cf7b18713e3d6ad05e97c883
tree6cce9d880d2ffad96b11f5e1836809d1a897c4bd
parent7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a
hexagon: Make THREAD_SIZE available to vmlinux.lds

Make THREAD_SIZE available to vmlinux.lds on hexagon by including
asm/thread_info.h 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>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
cc: linux-hexagon@vger.kernel.org
arch/hexagon/kernel/vmlinux.lds.S