summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-08 19:10:03 +0200
committerSudeep Holla <sudeep.holla@arm.com>2016-06-13 10:55:51 +0200
commitb47a1b46fef0e95d35f0d7a6d3477912dbc17f32 (patch)
tree14569dde5cd7262619f2c1d647313d5952f74813 /arch/arm/mach-vexpress
parentARM: vexpress/spc: remove unused variable perf_stat_reg (diff)
downloadlinux-b47a1b46fef0e95d35f0d7a6d3477912dbc17f32.tar.xz
linux-b47a1b46fef0e95d35f0d7a6d3477912dbc17f32.zip
ARM: vexpress/hotplug: fix missing core.h include
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>
Diffstat (limited to 'arch/arm/mach-vexpress')
-rw-r--r--arch/arm/mach-vexpress/hotplug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/hotplug.c b/arch/arm/mach-vexpress/hotplug.c
index f2fafc10a91d..d8f1a05f5e87 100644
--- a/arch/arm/mach-vexpress/hotplug.c
+++ b/arch/arm/mach-vexpress/hotplug.c
@@ -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;