mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
94854f1419
commit
2ae2a306f4
3 files changed
+19
-5
No files matched your search
@@ -1,3 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
generic-y += hypercall.h
|
||||
generic-y += paging.h
|
||||
generic-y += vm_event.h
|
||||
@@ -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__ */
|
||||
@@ -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:
|
||||
*/
|
||||