lkml.org 
[lkml]   [2011]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectredefinition of typedef '__guest_handle_uint64_t'
Hi,

when trying to compile xen/next-3.0 from Jeremy's tree, this happens:

---------------------------------------------------
/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


\
 
 \ /
  Last update: 2011-08-08 10:57    [W:0.086 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site