|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64]: fix compilation error.
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1230090655 -32400
# Node ID 5598097382377771b6728f84bbccc280e7623005
# Parent e97216802360bc7936523d2166698added5b8f54
[IA64]: fix compilation error.
BUILD_BUG_ON() was changed so that now BUILD_BUG_ON() can't be
used with symbol values.
Fortunately dom_fpswa_hypercall_patch() isn't performance critical
so replace BUILD_BUG_ON() with BUG_ON().
Fixed the wrong condition which has off-by-one bug.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/arch/ia64/xen/dom_fw_common.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r e97216802360 -r 559809738237 xen/arch/ia64/xen/dom_fw_common.c
--- a/xen/arch/ia64/xen/dom_fw_common.c Fri Dec 12 10:43:39 2008 +0900
+++ b/xen/arch/ia64/xen/dom_fw_common.c Wed Dec 24 12:50:55 2008 +0900
@@ -275,8 +275,8 @@ dom_fpswa_hypercall_patch(uint64_t brkim
*entry_imva = 0;
/* see dom_fw.h */
- BUILD_BUG_ON((char*)xen_ia64_fpswa_call_stub_end -
- (char*)xen_ia64_fpswa_call_stub > 0xff - 16);
+ BUG_ON((char*)xen_ia64_fpswa_call_stub_end -
+ (char*)xen_ia64_fpswa_call_stub > 0xff - 16 + 1);
/* call stub */
memcpy(patch_imva, xen_ia64_fpswa_call_stub, stub_size);
_______________________________________________
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 compilation error.,
Xen patchbot-unstable <=
|
|
|
|
|