summaryrefslogtreecommitdiff
path: root/kexec/arch/mips/crashdump-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/mips/crashdump-mips.h')
-rw-r--r--kexec/arch/mips/crashdump-mips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/arch/mips/crashdump-mips.h b/kexec/arch/mips/crashdump-mips.h
index c986835..7edd859 100644
--- a/kexec/arch/mips/crashdump-mips.h
+++ b/kexec/arch/mips/crashdump-mips.h
@@ -6,12 +6,13 @@ int load_crashdump_segments(struct kexec_info *info, char *mod_cmdline,
unsigned long max_addr, unsigned long min_base);
#ifdef __mips64
#define PAGE_OFFSET 0xa800000000000000ULL
+#define MAXMEM 0
#else
#define PAGE_OFFSET 0x80000000
+#define MAXMEM 0x80000000
#endif
#define __pa(x) ((unsigned long)(X) & 0x7fffffff)
-#define MAXMEM 0x80000000
#define CRASH_MAX_MEMMAP_NR (KEXEC_MAX_SEGMENTS + 1)
#define CRASH_MAX_MEMORY_RANGES (MAX_MEMORY_RANGES + 2)