projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7bbbe
)
[PATCH] provide tickadj define
author
Roman Zippel
<zippel@linux-m68k.org>
Fri, 6 Oct 2006 07:43:54 +0000
(
00:43
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:40 +0000
(08:53 -0700)
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>
include/linux/timex.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/timex.h
b/include/linux/timex.h
index 049dfe4a11f2a520399314b50bf3664044b01c46..db501dc23c299e52af3ac357cd7af05478465d23 100644
(file)
--- 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 */