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 a383147..12d4e82 100644 (file)
@@ -2,6 +2,7 @@
 #define _LINUX_TIME64_H
 
 #include <uapi/linux/time.h>
+#include <linux/math64.h>
 
 typedef __s64 time64_t;