Rev 552 | Rev 1196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 552 | Rev 659 | ||
|---|---|---|---|
| Line 96... | Line 96... | ||
| 96 | * @param arg Timeout handler argument. |
96 | * @param arg Timeout handler argument. |
| 97 | * |
97 | * |
| 98 | */ |
98 | */ |
| 99 | void timeout_register(timeout_t *t, __u64 time, timeout_handler_t f, void *arg) |
99 | void timeout_register(timeout_t *t, __u64 time, timeout_handler_t f, void *arg) |
| 100 | { |
100 | { |
| 101 | timeout_t *hlp; |
101 | timeout_t *hlp = NULL; |
| 102 | link_t *l, *m; |
102 | link_t *l, *m; |
| 103 | ipl_t ipl; |
103 | ipl_t ipl; |
| 104 | __u64 sum; |
104 | __u64 sum; |
| 105 | 105 | ||
| 106 | ipl = interrupts_disable(); |
106 | ipl = interrupts_disable(); |