Commit 9cf8f370 authored by Grant Grundler's avatar Grant Grundler Committed by Matthew Wilcox
Browse files

[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: default avatarGrant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 342a0497
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -2,12 +2,8 @@
#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 HZ		CONFIG_HZ
#define USER_HZ		100		/* some user API use "ticks" */
#define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */
#endif