summaryrefslogtreecommitdiff
path: root/include/linux/timex.h
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-10-06 11:43:54 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-06 19:53:40 +0400
commit7236e978a3883406ca06ee79e0739743c7c92a85 (patch)
tree86b3f05dd67fe018c754ff75f04d3c875dfd08aa /include/linux/timex.h
parent7f7bbbe50b8a28f4dfaa4cea939ddb50198c4a99 (diff)
downloadlinux-7236e978a3883406ca06ee79e0739743c7c92a85.tar.xz
[PATCH] provide tickadj define
Provide a tickadj compatibility define for archs still using it. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/timex.h')
-rw-r--r--include/linux/timex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index 049dfe4a11f2..db501dc23c29 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -293,6 +293,9 @@ extern void second_overflow(void);
extern void update_ntp_one_tick(void);
extern int do_adjtimex(struct timex *);
+/* Don't use! Compatibility define for existing users. */
+#define tickadj (500/HZ ? : 1)
+
#endif /* KERNEL */
#endif /* LINUX_TIMEX_H */