[PATCH 1/5] provide tickadj define

From: zippel
Date: Wed Oct 04 2006 - 19:28:00 EST


Provide a tickadj compatibility define for archs still using it.

Signed-off-by: Roman Zippel <zippel@xxxxxxxxxxxxxx>

---
include/linux/timex.h | 3 +++
1 file changed, 3 insertions(+)

Index: linux-2.6/include/linux/timex.h
===================================================================
--- linux-2.6.orig/include/linux/timex.h
+++ linux-2.6/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 */

--

-
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/