Rev 1 | Rev 411 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 125 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | #include <typedefs.h> |
33 | #include <typedefs.h> |
34 | #include <synch/spinlock.h> |
34 | #include <synch/spinlock.h> |
35 | #include <list.h> |
35 | #include <list.h> |
36 | 36 | ||
37 | #define us2ticks(us) ((__u64)(((__u32) (us)/(1000000/HZ)))) |
37 | #define us2ticks(us) ((__u64)(((__u32) (us)/(1000000/HZ)))) |
38 | 38 | ||
39 | typedef void (* timeout_handler)(void *arg); |
39 | typedef void (* timeout_handler)(void *arg); |
40 | 40 | ||
41 | struct timeout { |
41 | struct timeout { |
42 | spinlock_t lock; |
42 | spinlock_t lock; |