]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PARISC] Use CONFIG_HZ to determine interval timer rate (aka clock ticks)
authorGrant Grundler <grundler@gsyprf11.external.hp.com>
Fri, 1 Sep 2006 21:50:25 +0000 (14:50 -0700)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:47:46 +0000 (06:47 -0600)
This isn't likely to be causing problems for other bits of
kernel code. I can't find any other user of CONFIG_HZ outside
of arch specific code.

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/param.h

index 07cb9b93cfe25e30bf449f47ac2275fdf6ac9781..32e03d8778587806cb001c9f6b98df3f1763e256 100644 (file)
@@ -2,13 +2,9 @@
 #define _ASMPARISC_PARAM_H
 
 #ifdef __KERNEL__
-# ifdef CONFIG_PA20
-#  define HZ           1000            /* Faster machines */
-# else
-#  define HZ           100             /* Internal kernel timer frequency */
-# endif
-# define USER_HZ       100             /* .. some user interfaces are in "ticks" */
-# define CLOCKS_PER_SEC        (USER_HZ)       /* like times() */
+#define HZ             CONFIG_HZ
+#define USER_HZ                100             /* some user API use "ticks" */
+#define CLOCKS_PER_SEC (USER_HZ)       /* like times() */
 #endif
 
 #ifndef HZ