From: Roman Zippel Date: Fri, 6 Oct 2006 07:43:54 +0000 (-0700) Subject: [PATCH] provide tickadj define X-Git-Tag: v2.6.19-rc2~304 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7236e978a3883406ca06ee79e0739743c7c92a85;p=linux-2.6 [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 049dfe4a11..db501dc23c 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 */