]> asedeno.scripts.mit.edu Git - linux.git/commit
openrisc: Make THREAD_SIZE available to vmlinux.lds
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Jan 2018 10:49:09 +0000 (10:49 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 9 Jan 2018 23:21:02 +0000 (23:21 +0000)
commit138101932054268a235c6ac7cf474f6a88fcd885
tree2095654b92dc09e92216dc78cd7db8463f5473b2
parent0b04ea6822936757cf7b18713e3d6ad05e97c883
openrisc: Make THREAD_SIZE available to vmlinux.lds

Make THREAD_SIZE available to vmlinux.lds on openrisc 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>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Stafford Horne <shorne@gmail.com>
cc: Jonas Bonn <jonas@southpole.se>
cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
cc: openrisc@lists.librecores.org
arch/openrisc/kernel/vmlinux.lds.S