mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:46:40 +07:00
7bc1e4d8d5
Add optional support to export the bootinfo used to boot the kernel in a "bootinfo" file in procfs. This is useful with kexec. This is based on the similar feature for ATAGS on ARM. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
29 lines
617 B
C
29 lines
617 B
C
/*
|
|
** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure
|
|
**
|
|
** Copyright 1992 by Greg Harp
|
|
**
|
|
** This file is subject to the terms and conditions of the GNU General Public
|
|
** License. See the file COPYING in the main directory of this archive
|
|
** for more details.
|
|
*/
|
|
|
|
#ifndef _M68K_BOOTINFO_H
|
|
#define _M68K_BOOTINFO_H
|
|
|
|
#include <uapi/asm/bootinfo.h>
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#ifdef CONFIG_BOOTINFO_PROC
|
|
extern void save_bootinfo(const struct bi_record *bi);
|
|
#else
|
|
static inline void save_bootinfo(const struct bi_record *bi) {}
|
|
#endif
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
#endif /* _M68K_BOOTINFO_H */
|