[parisc-linux-cvs] fix HZ and USER_HZ
Helge Deller
deller@gmx.de
Sun, 21 Jul 2002 01:46:28 +0200
--Boundary-00=_UZfO9oNunCvcYO/
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
On Sunday 21 July 2002 01:46, Helge Deller wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.5
> Changes by: deller 02/07/20 17:46:21
>
> Modified files:
> include/asm-parisc: param.h
>
> Log message:
> fix HZ and USER_HZ
--Boundary-00=_UZfO9oNunCvcYO/
Content-Type: text/plain;
charset="iso-8859-1";
name="diff2"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff2"
Index: param.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-parisc/param.h,v
retrieving revision 1.2
diff -u -p -r1.2 param.h
--- param.h 18 Jul 2002 16:17:04 -0000 1.2
+++ param.h 20 Jul 2002 23:42:55 -0000
@@ -1,6 +1,12 @@
#ifndef _ASMPARISC_PARAM_H
#define _ASMPARISC_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
@@ -16,9 +22,5 @@
#endif
#define MAXHOSTNAMELEN 64 /* max length of hostname */
-
-#ifdef __KERNEL__
-# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
-#endif
#endif
--Boundary-00=_UZfO9oNunCvcYO/--