summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/mem.c')
-rw-r--r--arch/x86/boot/compressed/mem.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/mem.c b/arch/x86/boot/compressed/mem.c
new file mode 100644
index 000000000000..67594fcb11d9
--- /dev/null
+++ b/arch/x86/boot/compressed/mem.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include "error.h"
+
+void arch_accept_memory(phys_addr_t start, phys_addr_t end)
+{
+ /* Platform-specific memory-acceptance call goes here */
+ error("Cannot accept memory");
+}