OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/include/linux/timex.h
b/include/linux/timex.h
index
049dfe4
..
db501dc
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 */