mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
361239fd14
include/xen/arm/hypervisor.h contains definitions related to paravirt lazy mode, which are used nowhere in the code. All paravirt lazy mode related users are in x86 code, so remove the definitions on Arm side. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Link: https://lore.kernel.org/r/20230913113828.18421-2-jgross@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
27 lines
529 B
C
27 lines
529 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_ARM_XEN_HYPERVISOR_H
|
|
#define _ASM_ARM_XEN_HYPERVISOR_H
|
|
|
|
#include <linux/init.h>
|
|
|
|
extern struct shared_info *HYPERVISOR_shared_info;
|
|
extern struct start_info *xen_start_info;
|
|
|
|
#ifdef CONFIG_XEN
|
|
void __init xen_early_init(void);
|
|
#else
|
|
static inline void xen_early_init(void) { return; }
|
|
#endif
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
static inline void xen_arch_register_cpu(int num)
|
|
{
|
|
}
|
|
|
|
static inline void xen_arch_unregister_cpu(int num)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ASM_ARM_XEN_HYPERVISOR_H */
|