diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-07 00:28:32 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-07 00:28:32 +0000 |
commit | b0dd3380aae2a976d4d3afa4d3b2aff820c36f23 (patch) | |
tree | a42374a72544ca96c8ca944cd6e55f3f1a2d44b5 /include/sys/timer.h | |
parent | ed61a7d05eb95ab453a95baf52d6af7b0c60a132 (diff) |
Minor atomic cleanup, this needs to be done right.
Fixed a bug in the timer code
Added missing macros
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@28 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/timer.h')
-rw-r--r-- | include/sys/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/timer.h b/include/sys/timer.h index 237195d76..7e8c6fd41 100644 --- a/include/sys/timer.h +++ b/include/sys/timer.h @@ -12,7 +12,7 @@ extern "C" { #define lbolt ((clock_t)jiffies) #define lbolt64 ((int64_t)get_jiffies_64()) -#define delay(ticks) schedule_timeout((long timeout)(ticks)) +#define delay(ticks) schedule_timeout((long)(ticks)) #ifdef __cplusplus } |