On 14.03.2024 23:15, Shawn Anastasio wrote: > Required for bootfdt.c to build. > > Signed-off-by: Shawn Anastasio <sanasta...@raptorengineering.com>
As a temporary workaround this may be okay, but was the alternative considered to properly provide stubs in a single central place for anything !CONFIG_STATIC_SHM? Jan > --- /dev/null > +++ b/xen/arch/ppc/include/asm/static-shmem.h > @@ -0,0 +1,12 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > + > +#ifndef __ASM_PPC_STATIC_SHMEM_H__ > +#define __ASM_PPC_STATIC_SHMEM_H__ > + > +static inline int process_shm_node(const void *fdt, int node, > + uint32_t address_cells, uint32_t > size_cells) > +{ > + return -EINVAL; > +} > + > +#endif /* __ASM_PPC_STATIC_SHMEM_H__ */