diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-03-28 02:33:47 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-03-28 02:33:47 +0000 |
commit | 92406b9b55b27df46c3611b18f7746c6ff38bc0d (patch) | |
tree | a5c5193049129b74d9441b6d83934f9ba7c32fd9 /sys/compat | |
parent | abdaf54b3931dc71be8ebe28caee3ae02d70e933 (diff) | |
download | src-test2-92406b9b55b27df46c3611b18f7746c6ff38bc0d.tar.gz src-test2-92406b9b55b27df46c3611b18f7746c6ff38bc0d.zip |
Notes
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 1afffe0991ac..7a4825f5eadb 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -629,7 +629,12 @@ struct linux_times_argv { long tms_cstime; }; +#ifdef __alpha__ +#define CLK_TCK 1024 /* Linux uses 1024 on alpha */ +#else #define CLK_TCK 100 /* Linux uses 100 */ +#endif + #define CONVTCK(r) (r.tv_sec * CLK_TCK + r.tv_usec / (1000000 / CLK_TCK)) int |