diff options
author | Nick Kossifidis <mick@ics.forth.gr> | 2020-10-12 17:24:10 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-11-09 22:54:30 +0300 |
commit | 00ab027a3b82dbad0a698fef1e359ebcab4c205b (patch) | |
tree | 2d61ebaf1931f734fb8fc903464dcf5949d73614 /kernel/auditsc.c | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | linux-00ab027a3b82dbad0a698fef1e359ebcab4c205b.tar.xz |
RISC-V: Add kernel image sections to the resource tree
This patch (previously part of my kexec/kdump series) populates
/proc/iomem with the various sections of the kernel image. We need
this for kexec-tools to be able to prepare the crashkernel image
for kdump to work. Since resource tree initialization is not
related to memory initialization I added the code to kernel/setup.c
and removed the original code (derived from the arm64 tree) from
mm/init.c.
Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions