A lot of empty/stub headers should be introduced during the early steps of adding
support of new architecture.
An example can be found here:
1. https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kurochko@gmail.com/
2. https://lore.kernel.org/xen-devel/a92f99e8f697da99d77bfde562a549dbef3760ce.1692816595.git.sanastasio@raptorengineering.com/
As part of the patch series, asm/vm_event.h was moved to the stubs directory because
It is the same for ARM, PPC, and RISC-V.
Changes in V2:
- change public/domctl.h to public/vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h to stubs
Oleksii Kurochko (2):
xen: add stubs dir to include path
xen: move arm/include/asm/vm_event.h to stubs
xen/Makefile | 1 +
xen/arch/arm/include/asm/vm_event.h | 66 -----------------------------
xen/include/stubs/asm/vm_event.h | 55 ++++++++++++++++++++++++
3 files changed, 56 insertions(+), 66 deletions(-)
delete mode 100644 xen/arch/arm/include/asm/vm_event.h
create mode 100644 xen/include/stubs/asm/vm_event.h
--
2.41.0