]> git.hungrycats.org Git - linux/commitdiff
[PATCH] M68k update (part 22)
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 23 Jul 2002 13:22:34 +0000 (06:22 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 23 Jul 2002 13:22:34 +0000 (06:22 -0700)
M68k USER_HZ updates

include/asm-m68k/param.h

index 3bff167e53097a2767d026cae821c7b35c6ff4b2..caecfcc089c56005b3af2d0bb1636dde0c7b775d 100644 (file)
@@ -1,6 +1,12 @@
 #ifndef _M68K_PARAM_H
 #define _M68K_PARAM_H
 
+#ifdef __KERNEL__
+# define HZ            100             /* Internal kernel timer frequency */
+# define USER_HZ       100             /* .. some user interfaces are in "ticks" */
+# define CLOCKS_PER_SEC        (USER_HZ)       /* like times() */
+#endif
+
 #ifndef HZ
 #define HZ 100
 #endif
@@ -17,8 +23,4 @@
 
 #define MAXHOSTNAMELEN 64      /* max length of hostname */
 
-#ifdef __KERNEL__
-# define CLOCKS_PER_SEC        HZ      /* frequency at which times() counts */
-#endif
-
 #endif /* _M68K_PARAM_H */