time: Include math64.h in time64.h
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 9 Apr 2015 01:04:40 +0000 (09:04 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 22 May 2015 17:36:28 +0000 (10:36 -0700)
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>
include/linux/time64.h

index a3831478d9cf8db848a193fc908f7e54f340ffa8..12d4e82b02765efa27b5ecf20779a1bd6f7d4f2c 100644 (file)
@@ -2,6 +2,7 @@
 #define _LINUX_TIME64_H
 
 #include <uapi/linux/time.h>
+#include <linux/math64.h>
 
 typedef __s64 time64_t;