[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] BUG_ON test for xmalloc alignment should not be excluded



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6c252ba7a6396888723ba4a84755646e564b6cbb
# Parent  be41d7631c2ffebb3c35ce29a6b7c4ae01161ea1
BUG_ON test for xmalloc alignment should not be excluded
for ia64. SMP_CACHE_BYTES should be increased for uniproc
ia64 systems (how many uniproc ia64 boxes are there?!).

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r be41d7631c2f -r 6c252ba7a639 xen/common/xmalloc.c
--- a/xen/common/xmalloc.c      Wed Nov 23 11:11:05 2005
+++ b/xen/common/xmalloc.c      Wed Nov 23 11:22:58 2005
@@ -111,9 +111,7 @@
     unsigned long flags;
 
     /* We currently always return cacheline aligned. */
-#ifndef __ia64__
     BUG_ON(align > SMP_CACHE_BYTES);
-#endif
 
     /* Add room for header, pad to align next header. */
     size += sizeof(struct xmalloc_hdr);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.