Staging
v0.7.0
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 0c8efd610b58cb23cefdfa12015799079aef94ae authored by Linus Torvalds on 12 March 2018, 00:25:09 UTC
Linux 4.16-rc5
Tip revision: 0c8efd6
bootinfo.h
/*
** 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

#ifdef CONFIG_UBOOT
void process_uboot_commandline(char *commandp, int size);
#else
static inline void process_uboot_commandline(char *commandp, int size) {}
#endif

#endif /* __ASSEMBLY__ */


#endif /* _M68K_BOOTINFO_H */
back to top