aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/entry-armv.S
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-01 20:13:42 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 14:12:41 -0400
commit9b9cf81a2d1f5336de2bebae71a9f2b8d5f1a8de (patch)
tree74cda52c16544137085da7727eef6ce188ddb1d9 /arch/arm/kernel/entry-armv.S
parent70c4f78b23c69013c908222d55a07c96fea4bba1 (diff)
downloadlinux-linaro-stable-9b9cf81a2d1f5336de2bebae71a9f2b8d5f1a8de.tar.gz
arm: fix implicit #include <linux/init.h> in entry asm.
They use the "_INIT" macro and friends, and hence need to source this header file, vs. relying on getting it implicitly. Cc: Russell King <linux@arm.linux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/arm/kernel/entry-armv.S')
-rw-r--r--arch/arm/kernel/entry-armv.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index 570306c49406..4942fab6ae28 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -15,6 +15,8 @@
* that causes it to save wrong values... Be aware!
*/
+#include <linux/init.h>
+
#include <asm/assembler.h>
#include <asm/memory.h>
#include <asm/glue-df.h>