Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] provide tickadj define

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>

authored by

Roman Zippel and committed by
Linus Torvalds
7236e978 7f7bbbe5

+3
+3
include/linux/timex.h
··· 293 293 extern void update_ntp_one_tick(void); 294 294 extern int do_adjtimex(struct timex *); 295 295 296 + /* Don't use! Compatibility define for existing users. */ 297 + #define tickadj (500/HZ ? : 1) 298 + 296 299 #endif /* KERNEL */ 297 300 298 301 #endif /* LINUX_TIMEX_H */