Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 520 → Rev 521

/shark/trunk/drivers/linuxc26/shark_glue.c
21,12 → 21,14
int add_interrupt_job(int no)
{
 
int old_free_int = next_free_int;
 
int_list[next_free_int] = no;
next_free_int++;
 
if (next_free_int == MAX_INT_LIST) next_free_int = 0;
if (next_free_int == next_execute_int) {
next_free_int--;
next_free_int = old_free_int;
return -1;
}
 
190,7 → 192,6
timer_table[index] = -1;
 
}
kern_frestore(f);
 
return 0;