diff options
author | David Howells <dhowells@redhat.com> | 2018-01-08 05:45:03 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-01-09 17:01:39 -0500 |
commit | 0b04ea6822936757cf7b18713e3d6ad05e97c883 (patch) | |
tree | 6cce9d880d2ffad96b11f5e1836809d1a897c4bd | |
parent | 7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a (diff) |
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
-rw-r--r-- | arch/hexagon/kernel/vmlinux.lds.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/vmlinux.lds.S b/arch/hexagon/kernel/vmlinux.lds.S index ec87e67feb19..ad69d181c939 100644 --- a/arch/hexagon/kernel/vmlinux.lds.S +++ b/arch/hexagon/kernel/vmlinux.lds.S | |||
@@ -22,6 +22,8 @@ | |||
22 | #include <asm/asm-offsets.h> /* Most of the kernel defines are here */ | 22 | #include <asm/asm-offsets.h> /* Most of the kernel defines are here */ |
23 | #include <asm/mem-layout.h> /* except for page_offset */ | 23 | #include <asm/mem-layout.h> /* except for page_offset */ |
24 | #include <asm/cache.h> /* and now we're pulling cache line size */ | 24 | #include <asm/cache.h> /* and now we're pulling cache line size */ |
25 | #include <asm/thread_info.h> /* and we need THREAD_SIZE too */ | ||
26 | |||
25 | OUTPUT_ARCH(hexagon) | 27 | OUTPUT_ARCH(hexagon) |
26 | ENTRY(stext) | 28 | ENTRY(stext) |
27 | 29 | ||