mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[PATCH] provide tickadj define
Provide a tickadj compatibility define for archs still using it. Signed-off-by: Roman Zippel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
7f7bbbe50b
commit
7236e978a3
1 file changed
+3
@@ -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 */
|
||||
Reference in new issue
Block a user