Skip to content

Commit

Permalink
[PATCH] provide tickadj define
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Oct 6, 2006
1 parent 7f7bbbe commit 7236e97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 7236e97

Please sign in to comment.