From: Roman Zippel Date: Fri, 6 Oct 2006 07:43:54 +0000 (-0700) Subject: [PATCH] provide tickadj define X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7236e978a3883406ca06ee79e0739743c7c92a85;p=linux-beck.git [PATCH] provide tickadj define Provide a tickadj compatibility define for archs still using it. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 */