summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/error.h')
-rw-r--r--arch/x86/boot/compressed/error.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/error.h b/arch/x86/boot/compressed/error.h
new file mode 100644
index 0000000000..31f9e080d6
--- /dev/null
+++ b/arch/x86/boot/compressed/error.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef BOOT_COMPRESSED_ERROR_H
+#define BOOT_COMPRESSED_ERROR_H
+
+#include <linux/compiler.h>
+
+void warn(const char *m);
+void error(char *m) __noreturn;
+void panic(const char *fmt, ...) __noreturn __cold;
+
+#endif /* BOOT_COMPRESSED_ERROR_H */