struct sh_emulate_ctxt is private to shadow code, and hence a declaration for it is not needed here.
Signed-off-by: Jan Beulich <jbeul...@suse.com> --- a/xen/include/asm-x86/paging.h +++ b/xen/include/asm-x86/paging.h @@ -92,7 +92,6 @@ * These shouldn't be used directly by callers; rather use the functions * below which will indirect through this table as appropriate. */ -struct sh_emulate_ctxt; struct shadow_paging_mode { #ifdef CONFIG_SHADOW_PAGING void (*detach_old_tables )(struct vcpu *v);