mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] time: include math64.h in time64.h
@ 2015-04-09  1:04 Xunlei Pang
  2015-04-09  1:04 ` [PATCH 2/3] s390: time: Provide read_boot_clock64() and read_persistent_clock64() Xunlei Pang
  2015-04-09  1:04 ` [PATCH 3/3] time: Remove read_boot_clock() Xunlei Pang
  0 siblings, 2 replies; 4+ messages in thread
From: Xunlei Pang @ 2015-04-09  1:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: John Stultz, Arnd Bergmann, Thomas Gleixner, Martin Schwidefsky,
	Heiko Carstens, linux390, Xunlei Pang

From: Xunlei Pang <pang.xunlei@linaro.org>

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@linaro.org>
---
 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-13 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09  1:04 [PATCH 1/3] time: include math64.h in time64.h Xunlei Pang
2015-04-09  1:04 ` [PATCH 2/3] s390: time: Provide read_boot_clock64() and read_persistent_clock64() Xunlei Pang
2015-04-09  1:04 ` [PATCH 3/3] time: Remove read_boot_clock() Xunlei Pang
     [not found]   ` <OFA4796A71.FC7D341F-ON48257E31.002793F7-48257E31.0028F99A@zte.com.cn>
2015-05-13 23:44     ` John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®