diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-10-06 00:43:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-06 08:53:40 -0700 |
commit | 7236e978a3883406ca06ee79e0739743c7c92a85 (patch) | |
tree | 86b3f05dd67fe018c754ff75f04d3c875dfd08aa /include | |
parent | 7f7bbbe50b8a28f4dfaa4cea939ddb50198c4a99 (diff) | |
download | kernel-crypto-7236e978a3883406ca06ee79e0739743c7c92a85.tar.gz kernel-crypto-7236e978a3883406ca06ee79e0739743c7c92a85.tar.xz kernel-crypto-7236e978a3883406ca06ee79e0739743c7c92a85.zip |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/timex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index 049dfe4a11f..db501dc23c2 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 */ |