diff options
author | David Howells <dhowells@redhat.com> | 2018-01-08 05:49:09 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-01-09 18:21:02 -0500 |
commit | 138101932054268a235c6ac7cf474f6a88fcd885 (patch) | |
tree | 2095654b92dc09e92216dc78cd7db8463f5473b2 | |
parent | 0b04ea6822936757cf7b18713e3d6ad05e97c883 (diff) |
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
-rw-r--r-- | arch/openrisc/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S index 00ddb7804be4..953bdcd54efe 100644 --- a/arch/openrisc/kernel/vmlinux.lds.S +++ b/arch/openrisc/kernel/vmlinux.lds.S | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/cache.h> | 30 | #include <asm/cache.h> |
31 | #include <asm/thread_info.h> | ||
31 | #include <asm-generic/vmlinux.lds.h> | 32 | #include <asm-generic/vmlinux.lds.h> |
32 | 33 | ||
33 | #ifdef __OR1K__ | 34 | #ifdef __OR1K__ |