提交 7236e978 编写于 作者: R Roman Zippel 提交者: Linus Torvalds

[PATCH] provide tickadj define

Provide a tickadj compatibility define for archs still using it.
Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7f7bbbe5
...@@ -293,6 +293,9 @@ extern void second_overflow(void); ...@@ -293,6 +293,9 @@ extern void second_overflow(void);
extern void update_ntp_one_tick(void); extern void update_ntp_one_tick(void);
extern int do_adjtimex(struct timex *); extern int do_adjtimex(struct timex *);
/* Don't use! Compatibility define for existing users. */
#define tickadj (500/HZ ? : 1)
#endif /* KERNEL */ #endif /* KERNEL */
#endif /* LINUX_TIMEX_H */ #endif /* LINUX_TIMEX_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册