xen/asm-generic: introduce generic hypercall.h

Introduce an empty generic hypercall.h for archs which don't
implement it.

Drop PPC's hypercall.h and switch to generic one instead.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2023-11-29 10:08:11 +01:00
1 parent 94854f1419
commit 2ae2a306f4
3 files changed
+19 -5

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
generic-y += hypercall.h
generic-y += paging.h
generic-y += vm_event.h
-5
View File
@@ -1,5 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ASM_PPC_HYPERCALL_H__
#define __ASM_PPC_HYPERCALL_H__
#endif /* __ASM_PPC_HYPERCALL_H__ */
+18
View File
@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __XEN_HYPERCALL_H__
#error "asm/hypercall.h should not be included directly - include xen/hypercall.h instead"
#endif
#ifndef __ASM_GENERIC_HYPERCALL_H__
#define __ASM_GENERIC_HYPERCALL_H__
#endif /* __ASM_GENERIC_HYPERCALL_H__ */
/*
* Local variables:
* mode: C
* c-file-style: "BSD"
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.