summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/um_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/um_arch.h')
-rw-r--r--arch/um/kernel/um_arch.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/um/kernel/um_arch.h b/arch/um/kernel/um_arch.h
new file mode 100644
index 0000000000..1e07fb7ee3
--- /dev/null
+++ b/arch/um/kernel/um_arch.h
@@ -0,0 +1,14 @@
+/* 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
+
+#endif