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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Acked-by: Stafford Horne <[email protected]>
cc: Jonas Bonn <[email protected]>
cc: Stefan Kristiansson <[email protected]>
cc: [email protected]
This commit is contained in:
David Howells 2018-01-08 10:49:09 +00:00
commit 1381019320

View file

@ -28,6 +28,7 @@
#include <asm/page.h>
#include <asm/cache.h>
#include <asm/thread_info.h>
#include <asm-generic/vmlinux.lds.h>
#ifdef __OR1K__