|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64]: Fix BUILD_BUG_ON().
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1230090657 -32400
# Node ID 9837303a4708cf0bd558efb6676cef095f9c4406
# Parent 5598097382377771b6728f84bbccc280e7623005
[IA64]: Fix BUILD_BUG_ON().
This is ia64 counter part of 1419a73316e1.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/include/asm-ia64/dom_fw_common.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 559809738237 -r 9837303a4708 xen/include/asm-ia64/dom_fw_common.h
--- a/xen/include/asm-ia64/dom_fw_common.h Wed Dec 24 12:50:55 2008 +0900
+++ b/xen/include/asm-ia64/dom_fw_common.h Wed Dec 24 12:50:57 2008 +0900
@@ -38,7 +38,7 @@ typedef struct xc_dom_image domain_t;
#define printk(fmt, args ...) xc_dom_printf(fmt, ## args)
#define BUG_ON(p) assert(!(p))
-#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2 * !!(condition)]))
+#define BUILD_BUG_ON(condition) ((void)sizeof(struct { int:-!!(condition); }))
//for sort in linux/sort.h.
#define sort(base, num, size, cmp, swap) qsort((base), (num), (size), (cmp))
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64]: Fix BUILD_BUG_ON().,
Xen patchbot-unstable <=
|
|
|
|
|