summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2002-07-02 09:18:00 -0400
committerPaul Mackerras <paulus@samba.org>2002-07-02 09:18:00 -0400
commit7c6c2fb92879f4fe2ab7094efd6669b71dfa9441 (patch)
tree6ed931f8d9185505e6c9392cd0812ac45e7bf3b0 /include
parent7403ed3e711c1825f1835314ed17d8ae78c87a54 (diff)
PPC32: define USER_HZ to be 100 (HZ is still 100 for now)
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/param.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/asm-ppc/param.h b/include/asm-ppc/param.h
index 259af01bbe8d..3d399e0f5b07 100644
--- a/include/asm-ppc/param.h
+++ b/include/asm-ppc/param.h
@@ -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