summaryrefslogtreecommitdiffstats
path: root/kernel/kexec_file.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2023-11-15 21:00:27 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 17:21:44 -0800
commit7acf164b259d9007264d9d8501da1023f140a3b4 (patch)
tree994fc9459720df4d8e4088eb401e987337d66f8c /kernel/kexec_file.c
parentpowerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE (diff)
downloadlinux-7acf164b259d9007264d9d8501da1023f140a3b4.tar.gz
linux-7acf164b259d9007264d9d8501da1023f140a3b4.zip
resource: add walk_system_ram_res_rev()
This function, being a variant of walk_system_ram_res() introduced in commit 8c86e70acead ("resource: provide new functions to walk through resources"), walks through a list of all the resources of System RAM in reversed order, i.e., from higher to lower. It will be used in kexec_file code to load kernel, initrd etc when preparing kexec reboot. Link: https://lkml.kernel.org/r/ZVTA6z/06cLnWKUz@MiWiFi-R3L-srv Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Eric Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/kexec_file.c')
0 files changed, 0 insertions, 0 deletions