diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2017-05-17 14:51:45 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-05-22 13:35:21 +0200 |
commit | c0672c93edcb5bb32800f8d48afa05861ef32a79 (patch) | |
tree | ff57bc5d6da3cb3b86583ca9120a2f6853fb8c98 /kexec/arch/arm64/Makefile | |
parent | a17234fe94bce780ac36a0ba9bfc9b6e8ffd84f0 (diff) |
arm64: kdump: identify memory regions
The following regions need to be identified for later use:
a) memory regions which belong to the 1st kernel
b) usable memory reserved for crash dump kernel
We go through /proc/iomem to find out a) and b) which are marked
as "System RAM" and "Crash kernel", respectively.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: David Woodhouse <dwmw@amazon.co.uk>
Tested-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm64/Makefile')
-rw-r--r-- | kexec/arch/arm64/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/arch/arm64/Makefile b/kexec/arch/arm64/Makefile index 91f6388..9d9111c 100644 --- a/kexec/arch/arm64/Makefile +++ b/kexec/arch/arm64/Makefile @@ -6,6 +6,8 @@ arm64_FS2DT_INCLUDE += \ arm64_DT_OPS += kexec/dt-ops.c +arm64_MEM_REGIONS = kexec/mem_regions.c + arm64_CPPFLAGS += -I $(srcdir)/kexec/ arm64_KEXEC_SRCS += \ |