mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 13:52:50 +01:00
In a coming commit, memblock will start using kho_scratch_overlap() without a compile guard. The compile guard for the function is in kexec_handover.h and provides a stub when CONFIG_KEXEC_HANDOVER is disabled. Since in memblock the call will exist unconditionally, always include the KHO headers. Including these headers unconditionally breaks memblock test compilation. Add stubs to fix that. Signed-off-by: Pratyush Yadav (Google) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
10 lines
270 B
C
10 lines
270 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _INCLUDE_LIBFDT_H_
|
|
#define _INCLUDE_LIBFDT_H_
|
|
|
|
/*
|
|
* Header stub to avoid test build breakage; we don't need to actually implement
|
|
* any FDT functions as they are not used in the tests.
|
|
*/
|
|
#endif /* _INCLUDE_LIBFDT_H_ */
|