提交 0b04ea68 编写于 作者: D David Howells

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: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
Acked-by: NRichard Kuo <rkuo@codeaurora.org>
cc: linux-hexagon@vger.kernel.org
上级 7066d746
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#include <asm/asm-offsets.h> /* Most of the kernel defines are here */ #include <asm/asm-offsets.h> /* Most of the kernel defines are here */
#include <asm/mem-layout.h> /* except for page_offset */ #include <asm/mem-layout.h> /* except for page_offset */
#include <asm/cache.h> /* and now we're pulling cache line size */ #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) OUTPUT_ARCH(hexagon)
ENTRY(stext) ENTRY(stext)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册