summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taia.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/taia.h b/taia.h
index 7440418..5d79cb3 100644
--- a/taia.h
+++ b/taia.h
@@ -96,7 +96,9 @@ static inline void taia_unpack(unsigned char *s, struct taia *t)
t->nano = x;
}
-#define tai_unix(t, u) ((void) ((t)->x = 4611686018427387914ULL + (uint64_t) (u)))
+#define tai_unix(t, u) \
+ ((void) ((t)->x = 4611686018427387914ULL + \
+ (uint64_t) (u)))
static inline void taia_now(struct taia *t)
{
@@ -106,6 +108,7 @@ static inline void taia_now(struct taia *t)
tai_unix(&t->sec, now.tv_sec);
t->nano = 1000 * now.tv_usec + 500;
+ /* We don't really have it, but bring some noise in. */
t->atto = secrand();
}
description scripts: add a script to check if Documentation/00-INDEX is sane Docs: change sh -> awk in REPORTING-BUGS Documentation/core-api/device_link: Add initial documentation core-api: remove an unexpected unident ppc/idle: Add documentation for powersave=off Doc: Correct typo, "Introdution" => "Introduction" Documentation/atomic_ops.txt: convert to ReST markup Documentation/local_ops.txt: convert to ReST markup Documentation/assoc_array.txt: convert to ReST markup docs-rst: parse-headers.pl: cleanup the documentation docs-rst: fix media cleandocs target docs-rst: media/Makefile: reorganize the rules docs-rst: media: build SVG from graphviz files docs-rst: replace bayer.png by a SVG image ...
Diffstat (limited to 'tools/cgroup')