Commit 9cf8f370f0777a24808b3485f3b5abb8e736d3e8
Committed by
Matthew Wilcox
1 parent
342a0497c2
Exists in
master
and in
7 other branches
[PARISC] Use CONFIG_HZ to determine interval timer rate (aka clock ticks)
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>
Showing 1 changed file with 3 additions and 7 deletions Side-by-side Diff
include/asm-parisc/param.h
... | ... | @@ -2,13 +2,9 @@ |
2 | 2 | #define _ASMPARISC_PARAM_H |
3 | 3 | |
4 | 4 | #ifdef __KERNEL__ |
5 | -# ifdef CONFIG_PA20 | |
6 | -# define HZ 1000 /* Faster machines */ | |
7 | -# else | |
8 | -# define HZ 100 /* Internal kernel timer frequency */ | |
9 | -# endif | |
10 | -# define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | |
11 | -# define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | |
5 | +#define HZ CONFIG_HZ | |
6 | +#define USER_HZ 100 /* some user API use "ticks" */ | |
7 | +#define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | |
12 | 8 | #endif |
13 | 9 | |
14 | 10 | #ifndef HZ |