mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Support for discovering memory blocks with no preserved memory will be added in coming patches. These areas will also be marked as scratch to allow allocations from them. Memblock will switch to looking through the scratch array to decide the right migratetype. Expose kho_scratch_overlap() to KHO users. Since it is now used by non-debug code, move it out of kexec_handover_debug.c and into kexec_handover.c. Gate the overlap checks in kho_preserve_folio() and kho_preserve_pages() by IS_ENABLED(CONFIG_KEXEC_HANDOVER_DEBUG) instead. Since kexec_handover_debug.c is now empty, delete it. Add a stub for kho_scratch_overlap() to memblock tests to make sure it compiles. It will be used in memblock by a coming commit. No functional changes. Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org> Link: https://patch.msgid.link/20260725172133.4018491-14-pratyush@kernel.org Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
14 lines
302 B
Makefile
14 lines
302 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
luo-y := \
|
|
kho_block.o \
|
|
luo_core.o \
|
|
luo_file.o \
|
|
luo_flb.o \
|
|
luo_session.o
|
|
|
|
obj-$(CONFIG_KEXEC_HANDOVER) += kexec_handover.o
|
|
obj-$(CONFIG_KEXEC_HANDOVER_DEBUGFS) += kexec_handover_debugfs.o
|
|
|
|
obj-$(CONFIG_LIVEUPDATE) += luo.o
|