[PATCH 1/3] time: include math64.h in time64.h

From: Xunlei Pang
Date: Wed Apr 08 2015 - 21:07:28 EST


From: Xunlei Pang <pang.xunlei@xxxxxxxxxx>

On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem()
which needs match64.h, and we want to include time64.h in some
cases.

Signed-off-by: Xunlei Pang <pang.xunlei@xxxxxxxxxx>
---
include/linux/time64.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/time64.h b/include/linux/time64.h
index a383147..12d4e82 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;

--
1.9.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/