1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BOOTCONFIG_LINUX_BOOTCONFIG_H
3 #define _BOOTCONFIG_LINUX_BOOTCONFIG_H
18 #define WARN_ON(cond) \
19 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \
20 __FILE__, __LINE__, __func__, #cond) : 0)
22 #define unlikely(cond) (cond)
24 /* Copied from lib/string.c */
25 static inline char *skip_spaces(const char *str
)
32 static inline char *strim(char *s
)
42 while (end
>= s
&& isspace(*end
))
46 return skip_spaces(s
);
52 #include "../../../../include/linux/bootconfig.h"