aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/timer.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-07 00:28:32 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-07 00:28:32 +0000
commitb0dd3380aae2a976d4d3afa4d3b2aff820c36f23 (patch)
treea42374a72544ca96c8ca944cd6e55f3f1a2d44b5 /include/sys/timer.h
parented61a7d05eb95ab453a95baf52d6af7b0c60a132 (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.h2
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
}