]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
sh: fix up CONFIG_KEXEC=n build.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 18 May 2010 05:53:23 +0000 (14:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 18 May 2010 05:53:23 +0000 (14:53 +0900)
The reserve_crashkernel() definition is in asm/kexec.h which is only
dragged in via linux/kexec.h if CONFIG_KEXEC is set. Just switch over to
asm/kexec.h unconditionally to fix up the build.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/init.c

index 7f3cb5254abbe7c3183ebfaf03bde2e0162140eb..46f84de6246901e5704942d2fa8bea3ae4d9b87f 100644 (file)
 #include <linux/percpu.h>
 #include <linux/io.h>
 #include <linux/lmb.h>
-#include <linux/kexec.h>
 #include <linux/dma-mapping.h>
 #include <asm/mmu_context.h>
 #include <asm/mmzone.h>
+#include <asm/kexec.h>
 #include <asm/tlb.h>
 #include <asm/cacheflush.h>
 #include <asm/sections.h>