]> err.no Git - linux-2.6/commitdiff
[PATCH] provide tickadj define
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 6 Oct 2006 07:43:54 +0000 (00:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:40 +0000 (08:53 -0700)
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>
include/linux/timex.h

index 049dfe4a11f2a520399314b50bf3664044b01c46..db501dc23c299e52af3ac357cd7af05478465d23 100644 (file)
@@ -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 */