dapl_evd_event_alloc dapl_rbuf_alloc struct dat_event *event; int i; int status = 0; /* Allocate EVENTs */ event = vmalloc(evd->qlen * sizeof *event); #define cmpxchg_acq(ptr,o,n) ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr))) #define cmpxchg_rel(ptr,o,n) ia64_cmpxchg(rel, (ptr), (o), (n),sizeof(*(ptr))) /* for compatibility with other platforms: */ #define cmpxchg(ptr,o,n) cmpxchg_acq(ptr,o,n) "include/asm-ia64/intrinsics.h" 181L, 5355C