1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * kexec_file for riscv, use vmlinux as the dump-capture kernel image.
4 *
5 * Copyright (C) 2021 Huawei Technologies Co, Ltd.
6 *
7 * Author: Liao Chang (liaochang1@huawei.com)
8 */
9#include <linux/kexec.h>
10
11const struct kexec_file_ops * const kexec_file_loaders[] = {
12 &elf_kexec_ops,
13 NULL
14};
15

source code of linux/arch/riscv/kernel/machine_kexec_file.c