ia64/xen-unstable

changeset 7993:6c252ba7a639

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@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Nov 23 12:22:58 2005 +0100 (2005-11-23)
parents be41d7631c2f
children 6ab21a197549
files xen/common/xmalloc.c
line diff
     1.1 --- a/xen/common/xmalloc.c	Wed Nov 23 12:11:05 2005 +0100
     1.2 +++ b/xen/common/xmalloc.c	Wed Nov 23 12:22:58 2005 +0100
     1.3 @@ -111,9 +111,7 @@ void *_xmalloc(size_t size, size_t align
     1.4      unsigned long flags;
     1.5  
     1.6      /* We currently always return cacheline aligned. */
     1.7 -#ifndef __ia64__
     1.8      BUG_ON(align > SMP_CACHE_BYTES);
     1.9 -#endif
    1.10  
    1.11      /* Add room for header, pad to align next header. */
    1.12      size += sizeof(struct xmalloc_hdr);