summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-18 14:53:23 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-05-18 14:53:23 +0900
commitc77b29db74a0ea4fdce0564a63b8876798625d64 (patch)
tree1f96a17d16c8072311e4335a405298a9e3a9656c /arch/sh/mm
parenta71ba09655d197f22938fffa6f5d210ff5134f98 (diff)
downloadop-kernel-dev-c77b29db74a0ea4fdce0564a63b8876798625d64.zip
op-kernel-dev-c77b29db74a0ea4fdce0564a63b8876798625d64.tar.gz
sh: fix up CONFIG_KEXEC=n build.
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>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index 7f3cb52..46f84de 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -17,10 +17,10 @@
#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>
OpenPOWER on IntegriCloud