ARM: vexpress/hotplug: fix missing core.h include
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:10:03 +0000 (18:10 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Jun 2016 08:55:51 +0000 (09:55 +0100)
Fix the missing declaration of vexpress_cpu_die() by
including core.h where it is defined. Fixes:

arch/arm/mach-vexpress/hotplug.c:88:6: warning: symbol 'vexpress_cpu_die' was not declared. Should it be static?

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm/mach-vexpress/hotplug.c

index f2fafc1..d8f1a05 100644 (file)
@@ -15,6 +15,8 @@
 #include <asm/smp_plat.h>
 #include <asm/cp15.h>
 
+#include "core.h"
+
 static inline void cpu_enter_lowpower(void)
 {
        unsigned int v;