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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Richard Kuo <[email protected]>
cc: [email protected]
This commit is contained in:
David Howells 2018-01-08 10:45:03 +00:00
commit 0b04ea6822

View file

@ -22,6 +22,8 @@
#include <asm/asm-offsets.h> /* Most of the kernel defines are here */
#include <asm/mem-layout.h> /* except for page_offset */
#include <asm/cache.h> /* and now we're pulling cache line size */
#include <asm/thread_info.h> /* and we need THREAD_SIZE too */
OUTPUT_ARCH(hexagon)
ENTRY(stext)