]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: kirkwood: add missing kexec.h include
authorIan Campbell <ijc@hellion.org.uk>
Sun, 29 Apr 2012 13:40:42 +0000 (14:40 +0100)
committerJason Cooper <jason@lakedaemon.net>
Tue, 8 May 2012 18:43:25 +0000 (18:43 +0000)
Fixes the following build error when CONFIG_KEXEC is enabled:
  CC      arch/arm/mach-kirkwood/board-dt.o
arch/arm/mach-kirkwood/board-dt.c: In function 'kirkwood_dt_init':
arch/arm/mach-kirkwood/board-dt.c:52:2: error: 'kexec_reinit' undeclared (first use in this function)
arch/arm/mach-kirkwood/board-dt.c:52:2: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
[v4, rebase onto recent Linus for repost]
[v3, speak actual English in the commit message, thanks Sergei Shtylyov]
[v2, using linux/kexec.h not asm/kexec.h]
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/board-dt.c

index 1c672d9e6656a02e8c93f7f2d712521266f3a936..f7fe1b9f31703cd3e5c21d932a59f5629ee28252 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
+#include <linux/kexec.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/bridge-regs.h>