Skip to content

Commit

Permalink
arm/xen: remove lazy mode related definitions
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Stefano Stabellini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
  • Loading branch information
jgross1 committed Sep 19, 2023
1 parent 37510dd commit 361239f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/xen/arm/hypervisor.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@
extern struct shared_info *HYPERVISOR_shared_info;
extern struct start_info *xen_start_info;

/* Lazy mode for batching updates / context switch */
enum paravirt_lazy_mode {
PARAVIRT_LAZY_NONE,
PARAVIRT_LAZY_MMU,
PARAVIRT_LAZY_CPU,
};

static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
{
return PARAVIRT_LAZY_NONE;
}

#ifdef CONFIG_XEN
void __init xen_early_init(void);
#else
Expand Down

0 comments on commit 361239f

Please sign in to comment.