Re: redefinition of typedef '__guest_handle_uint64_t'

From: Konrad Rzeszutek Wilk
Date: Mon Aug 08 2011 - 10:37:42 EST


On Mon, Aug 08, 2011 at 01:54:39AM -0700, Christian Kujau wrote:
> Hi,
>
> when trying to compile xen/next-3.0 from Jeremy's tree, this happens:

Ugh, just use the released 3.0 stock kernel.
>
> ---------------------------------------------------
> /usr/local/src/linux-xen-next-3-git/arch/x86/kernel/asm-offsets.c:8:
> /usr/local/src/linux-xen-next-3-git/include/xen/interface/xen.h:527:1:
> error: redefinition of typedef '__guest_handle_uint64_t'
> /usr/local/src/linux-xen-next-3-git/arch/x86/include/asm/xen/interface.h:58:1:
> note: previous declaration of '__guest_handle_uint64_t' was here
> ---------------------------------------------------
>
> The .config is here: http://nerdbynature.de/bits/3.0-rc7/
> The following makes it compile again, but it may not be the Right Thing
> to do:
>
> diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
> index 3c072c8..5a91c66 100644
> --- a/include/xen/interface/xen.h
> +++ b/include/xen/interface/xen.h
> @@ -524,8 +524,6 @@ struct tmem_op {
> } u;
> };
>
> -DEFINE_GUEST_HANDLE(uint64_t);
> -
> #else /* __ASSEMBLY__ */
>
> /* In assembly code we cannot use C numeric constant suffixes. */
>
>
> Thanks,
> Christian.
> --
> BOFH excuse #100:
>
> IRQ dropout
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/