Commit 30f3b3f9 authored by Xunlei Pang's avatar Xunlei Pang Committed by John Stultz

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: default avatarXunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 4e413e85
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _LINUX_TIME64_H #define _LINUX_TIME64_H
#include <uapi/linux/time.h> #include <uapi/linux/time.h>
#include <linux/math64.h>
typedef __s64 time64_t; typedef __s64 time64_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment