summaryrefslogtreecommitdiff
path: root/include/linux/time64.h
diff options
context:
space:
mode:
authorXunlei Pang <pang.xunlei@linaro.org>2015-04-09 04:04:40 +0300
committerJohn Stultz <john.stultz@linaro.org>2015-05-22 20:36:28 +0300
commit30f3b3f9836c7c7e1f42ca855bbe8127fff4b99a (patch)
tree1ab6d5a34d600c2a141be451626711f292f7798b /include/linux/time64.h
parent4e413e8526aa53393d0b3d9ecbdb0436203586ee (diff)
downloadlinux-30f3b3f9836c7c7e1f42ca855bbe8127fff4b99a.tar.xz
time: Include math64.h in time64.h
On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem() which needs math64.h, and we want to include time64.h in some cases. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/time64.h')
-rw-r--r--include/linux/time64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/time64.h b/include/linux/time64.h
index a3831478d9cf..12d4e82b0276 100644
--- a/include/linux/time64.h
+++ b/include/linux/time64.h
@@ -2,6 +2,7 @@
#define _LINUX_TIME64_H
#include <uapi/linux/time.h>
+#include <linux/math64.h>
typedef __s64 time64_t;