summaryrefslogtreecommitdiffstats
path: root/arch/x86/purgatory/purgatory.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/purgatory/purgatory.c')
-rw-r--r--arch/x86/purgatory/purgatory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/purgatory/purgatory.c
index 6d8d5a34c3772..b607bda786f6b 100644
--- a/arch/x86/purgatory/purgatory.c
+++ b/arch/x86/purgatory/purgatory.c
@@ -68,3 +68,9 @@ void purgatory(void)
}
copy_backup_region();
}
+
+/*
+ * Defined in order to reuse memcpy() and memset() from
+ * arch/x86/boot/compressed/string.c
+ */
+void warn(const char *msg) {}