aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-04-21 16:01:02 -0700
committerMatt Turner <mattst88@gmail.com>2013-07-19 13:54:26 -0700
commit46931bf67c188d026879e943fa0426704991bed9 (patch)
treed5fbd6266a60c14a6b73614a4d50877471dc1e38 /arch/alpha/include/asm
parentalpha: Don't if-out dp264_device_interrupt. (diff)
downloadlinux-dev-46931bf67c188d026879e943fa0426704991bed9.tar.xz
linux-dev-46931bf67c188d026879e943fa0426704991bed9.zip
alpha: Force the user-visible HZ to a constant 1024.
This kernel/user split was done long ago for other architectures. Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha/include/asm')
-rw-r--r--arch/alpha/include/asm/param.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/alpha/include/asm/param.h b/arch/alpha/include/asm/param.h
index bf46af51941b..a5b68b268bcf 100644
--- a/arch/alpha/include/asm/param.h
+++ b/arch/alpha/include/asm/param.h
@@ -3,7 +3,9 @@
#include <uapi/asm/param.h>
-#define HZ CONFIG_HZ
-#define USER_HZ HZ
-# define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
+# undef HZ
+# define HZ CONFIG_HZ
+# define USER_HZ 1024
+# define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */
+
#endif /* _ASM_ALPHA_PARAM_H */