aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/kernel
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-01-08 10:39:35 +0000
committerDavid Howells <dhowells@redhat.com>2018-01-08 10:45:21 +0000
commit7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a (patch)
tree490f9301fe3bbeb7dace5aca359201a88a42f804 /arch/cris/kernel
parentLinux 4.15-rc6 (diff)
downloadlinux-dev-7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a.tar.xz
linux-dev-7066d746d1aa63c2e5d656eeb5c4b0bfad334c7a.zip
cris: Make THREAD_SIZE available to vmlinux.lds
Make THREAD_SIZE available to vmlinux.lds on cris by moving it to asm/thread_info.h and including that from 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> cc: Mikael Starvik <starvik@axis.com> cc: Jesper Nilsson <jesper.nilsson@axis.com> cc: linux-cris-kernel@axis.com
Diffstat (limited to 'arch/cris/kernel')
-rw-r--r--arch/cris/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S
index 6d1dbc1ba767..9b232e0f673e 100644
--- a/arch/cris/kernel/vmlinux.lds.S
+++ b/arch/cris/kernel/vmlinux.lds.S
@@ -11,6 +11,7 @@
#include <asm-generic/vmlinux.lds.h>
#include <asm/page.h>
+#include <asm/thread_info.h>
#ifdef CONFIG_ETRAX_VMEM_SIZE
#define __CONFIG_ETRAX_VMEM_SIZE CONFIG_ETRAX_VMEM_SIZE