Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Dooks and committed by
Sudeep Holla
b47a1b46 f66ce0da

+2
+2
arch/arm/mach-vexpress/hotplug.c
··· 15 15 #include <asm/smp_plat.h> 16 16 #include <asm/cp15.h> 17 17 18 + #include "core.h" 19 + 18 20 static inline void cpu_enter_lowpower(void) 19 21 { 20 22 unsigned int v;