Vincent Whitchurch | 361640b | 2021-12-08 16:11:22 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #ifndef __UML_ARCH_H__ | ||||
4 | #define __UML_ARCH_H__ | ||||
5 | |||||
6 | extern void * __init uml_load_file(const char *filename, unsigned long long *size); | ||||
7 | |||||
Vincent Whitchurch | b31297f | 2021-12-08 16:11:23 +0100 | [diff] [blame] | 8 | #ifdef CONFIG_OF |
9 | extern void __init uml_dtb_init(void); | ||||
10 | #else | ||||
11 | static inline void uml_dtb_init(void) { } | ||||
12 | #endif | ||||
13 | |||||
Vincent Whitchurch | 361640b | 2021-12-08 16:11:22 +0100 | [diff] [blame] | 14 | #endif |