aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorAndrzej Zaborowski <balrog@zabor.org>2008-11-19 17:09:45 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:45 +0000
commit414caf3e9799dd1647ba902d8c285ea85d61983b (patch)
treedff2e798ade73017d2f4f723db4da2a480345104 /arch/arm/include
parentb155417c6624894294bd972eb10e928c645043cb (diff)
Subject: [PATCH] Build fixes.
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/kexec.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/include/asm/kexec.h b/arch/arm/include/asm/kexec.h
index df15a0dc228..9fac2c3036e 100644
--- a/arch/arm/include/asm/kexec.h
+++ b/arch/arm/include/asm/kexec.h
@@ -1,8 +1,6 @@
#ifndef _ARM_KEXEC_H
#define _ARM_KEXEC_H
-#ifdef CONFIG_KEXEC
-
/* Maximum physical address we can use pages from */
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
/* Maximum address we can reach in physical address mode */
@@ -14,6 +12,10 @@
#define KEXEC_ARCH KEXEC_ARCH_ARM
+#define KEXEC_BOOT_PARAMS_SIZE 1536
+
+#ifdef CONFIG_KEXEC
+
#define KEXEC_ARM_ATAGS_OFFSET 0x1000
#define KEXEC_ARM_ZIMAGE_OFFSET 0x8000
@@ -29,3 +31,4 @@ static inline void crash_setup_regs(struct pt_regs *newregs,
#endif /* CONFIG_KEXEC */
#endif /* _ARM_KEXEC_H */
+