From: Andrew Cooper Date: Thu, 15 Apr 2021 12:27:45 +0000 (+0100) Subject: x86/pv: Rename hypercall_table_t to pv_hypercall_table_t X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~675 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd22a64de7e02b48312839a15179528c8f7db5c6;p=xen.git x86/pv: Rename hypercall_table_t to pv_hypercall_table_t The type is no longer appropriate for anything other than PV, and therefore should not retain its generic name. Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich --- diff --git a/xen/arch/x86/pv/hypercall.c b/xen/arch/x86/pv/hypercall.c index 5d02eebc8d..e30c59b628 100644 --- a/xen/arch/x86/pv/hypercall.c +++ b/xen/arch/x86/pv/hypercall.c @@ -40,7 +40,7 @@ #define do_arch_1 paging_domctl_continuation -const hypercall_table_t pv_hypercall_table[] = { +const pv_hypercall_table_t pv_hypercall_table[] = { COMPAT_CALL(set_trap_table), HYPERCALL(mmu_update), COMPAT_CALL(set_gdt), diff --git a/xen/arch/x86/pv/shim.c b/xen/arch/x86/pv/shim.c index 1b86fc247e..d16c0048c0 100644 --- a/xen/arch/x86/pv/shim.c +++ b/xen/arch/x86/pv/shim.c @@ -205,7 +205,7 @@ void __init pv_shim_setup_dom(struct domain *d, l4_pgentry_t *l4start, start_info_t *si) { bool compat = is_pv_32bit_domain(d); - hypercall_table_t *rw_pv_hypercall_table; + pv_hypercall_table_t *rw_pv_hypercall_table; uint64_t param = 0; long rc; diff --git a/xen/include/asm-x86/hypercall.h b/xen/include/asm-x86/hypercall.h index 39e7ab7022..0ae3b8b043 100644 --- a/xen/include/asm-x86/hypercall.h +++ b/xen/include/asm-x86/hypercall.h @@ -20,7 +20,7 @@ typedef struct { #ifdef CONFIG_PV32 hypercall_fn_t *compat; #endif -} hypercall_table_t; +} pv_hypercall_table_t; typedef struct { uint8_t native; @@ -32,7 +32,7 @@ typedef struct { extern const hypercall_args_t hypercall_args_table[NR_hypercalls]; #ifdef CONFIG_PV -extern const hypercall_table_t pv_hypercall_table[]; +extern const pv_hypercall_table_t pv_hypercall_table[]; void pv_hypercall(struct cpu_user_regs *regs); #endif