From: Jan Beulich Date: Fri, 4 Sep 2020 09:11:35 +0000 (+0200) Subject: evtchn: add compat struct checking for newer sub-ops X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1706 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a609b6577f7867db4be1470130b7b3c686398c4f;p=xen.git evtchn: add compat struct checking for newer sub-ops Various additions to the interface did not get mirrored into the compat handling machinery. Luckily all additions were done in ways not making any form of translation necessary. Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné --- diff --git a/xen/common/compat/xlat.c b/xen/common/compat/xlat.c index ffc8f8f50e..e21f032413 100644 --- a/xen/common/compat/xlat.c +++ b/xen/common/compat/xlat.c @@ -54,6 +54,22 @@ CHECK_evtchn_op; #undef xen_evtchn_status #undef xen_evtchn_unmask +#define xen_evtchn_expand_array evtchn_expand_array +CHECK_evtchn_expand_array; +#undef xen_evtchn_expand_array + +#define xen_evtchn_init_control evtchn_init_control +CHECK_evtchn_init_control; +#undef xen_evtchn_init_control + +#define xen_evtchn_reset evtchn_reset +CHECK_evtchn_reset; +#undef xen_evtchn_reset + +#define xen_evtchn_set_priority evtchn_set_priority +CHECK_evtchn_set_priority; +#undef xen_evtchn_set_priority + #define xen_mmu_update mmu_update CHECK_mmu_update; #undef xen_mmu_update diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index bab3a9bad1..57a17a2b62 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -66,8 +66,12 @@ ? evtchn_bind_vcpu event_channel.h ? evtchn_bind_virq event_channel.h ? evtchn_close event_channel.h +? evtchn_expand_array event_channel.h +? evtchn_init_control event_channel.h ? evtchn_op event_channel.h +? evtchn_reset event_channel.h ? evtchn_send event_channel.h +? evtchn_set_priority event_channel.h ? evtchn_status event_channel.h ? evtchn_unmask event_channel.h ? gnttab_cache_flush grant_table.h