summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/um_arch.h
blob: 46e731ab9dfcdebf842fbf4feafffdb6c4d74bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __UML_ARCH_H__
#define __UML_ARCH_H__

extern void * __init uml_load_file(const char *filename, unsigned long long *size);

#ifdef CONFIG_OF
extern void __init uml_dtb_init(void);
#else
static inline void uml_dtb_init(void) { }
#endif

extern int __init read_initrd(void);

#endif