treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / m68k / include / asm / bootinfo.h
blob81c91af8ec6c0e80a4339e4123f7126ae945e4ec
1 /*
2 ** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure
3 **
4 ** Copyright 1992 by Greg Harp
5 **
6 ** This file is subject to the terms and conditions of the GNU General Public
7 ** License. See the file COPYING in the main directory of this archive
8 ** for more details.
9 */
11 #ifndef _M68K_BOOTINFO_H
12 #define _M68K_BOOTINFO_H
14 #include <uapi/asm/bootinfo.h>
17 #ifndef __ASSEMBLY__
19 #ifdef CONFIG_BOOTINFO_PROC
20 extern void save_bootinfo(const struct bi_record *bi);
21 #else
22 static inline void save_bootinfo(const struct bi_record *bi) {}
23 #endif
25 #ifdef CONFIG_UBOOT
26 void process_uboot_commandline(char *commandp, int size);
27 #else
28 static inline void process_uboot_commandline(char *commandp, int size) {}
29 #endif
31 #endif /* __ASSEMBLY__ */
34 #endif /* _M68K_BOOTINFO_H */