]> git.neil.brown.name Git - history.git/commitdiff
PPC32: define USER_HZ to be 100 (HZ is still 100 for now)
authorPaul Mackerras <paulus@samba.org>
Tue, 2 Jul 2002 13:18:00 +0000 (09:18 -0400)
committerPaul Mackerras <paulus@samba.org>
Tue, 2 Jul 2002 13:18:00 +0000 (09:18 -0400)
include/asm-ppc/param.h

index 259af01bbe8da756d73b97a9403fc21a36384bcf..3d399e0f5b07b10942c7657544465c8208fa8fe0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.param.h 1.8 08/20/01 22:50:29 paulus
+ * BK Id: %F% %I% %G% %U% %#%
  */
 #ifndef _ASM_PPC_PARAM_H
 #define _ASM_PPC_PARAM_H
@@ -8,6 +8,12 @@
 #define HZ 100
 #endif
 
+#ifdef __KERNEL__
+#define HZ             100             /* internal timer frequency */
+#define USER_HZ                100             /* for user interfaces in "ticks" */
+#define CLOCKS_PER_SEC (USER_HZ)       /* frequency at which times() counts */
+#endif
+
 #define EXEC_PAGESIZE  4096
 
 #ifndef NGROUPS
@@ -20,8 +26,4 @@
 
 #define MAXHOSTNAMELEN 64      /* max length of hostname */
 
-#ifdef __KERNEL__
-# define CLOCKS_PER_SEC        HZ      /* frequency at which times() counts */
-#endif
-
 #endif