Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 926 → Rev 927

/shark/trunk/ports/fftw/fftw/malloc.c
21,7 → 21,7
* malloc.c -- memory allocation related functions
*/
 
/* $Id: malloc.c,v 1.2 2003-03-24 11:14:54 pj Exp $ */
/* $Id: malloc.c,v 1.3 2005-01-08 15:00:28 pj Exp $ */
#ifdef FFTW_USING_CILK
#include <cilk.h>
#include <cilk-compat.h>
92,7 → 92,7
// fprintf(stderr, "fftw: %s", s);
 
printk(KERN_ERR "fftw: %s", s);
sys_abort(EXIT_FAILURE);
exit(EXIT_FAILURE);
}
 
/* check for memory leaks when debugging */
113,7 → 113,7
fftw_malloc_cnt,
fftw_node_cnt, fftw_plan_cnt, fftw_twiddle_size,
fftw_malloc_total);
sys_abort(EXIT_FAILURE);
exit(EXIT_FAILURE);
}
#else
if (fftw_node_cnt || fftw_plan_cnt || fftw_twiddle_size) {
123,7 → 123,7
"MEMORY LEAK!!!\n"
" node=%d plan=%d twiddle=%d\n",
fftw_node_cnt, fftw_plan_cnt, fftw_twiddle_size);
sys_abort(EXIT_FAILURE);
exit(EXIT_FAILURE);
}
#endif
}
/shark/trunk/ports/first/modules/grubstar.c
516,7 → 516,7
if ((lev->U - lev->Uf) < 0) {
cprintf("GRUBSTAR Error: Bad Reclaiming Computation\n");
sys_end();
kern_raise(XUNSPECIFIED_EXCEPTION, exec_shadow);
}
 
mul32div32to32(lev->b[lev->tb[exec]].avail,(lev->U-lev->Uf),lev->U,lev->b[lev->tb[exec]].last_reclaiming);
/shark/trunk/ports/first/first-server.c
105,8 → 105,7
if (err) {
cprintf("error creating service task\n");
sys_shutdown_message("Could not create service_task");
sys_end();
return;
exit(1);
}
 
task_activate(server_task);