X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-alpha%2Fparam.h;h=e691ecfedb2ce93b7544596487f8abf9f9fff652;hb=407d819cf0fd54c6fc1138a509225696aecafd15;hp=214e7996346f25e890c9221c35fac975f4e7ee78;hpb=37224470c8c6d90a4062e76a08d4dc1fcf91fc89;p=linux-2.6 diff --git a/include/asm-alpha/param.h b/include/asm-alpha/param.h index 214e799634..e691ecfedb 100644 --- a/include/asm-alpha/param.h +++ b/include/asm-alpha/param.h @@ -5,16 +5,12 @@ hardware ignores reprogramming. We also need userland buy-in to the change in HZ, since this is visible in the wait4 resources etc. */ - -#ifndef HZ -# ifndef CONFIG_ALPHA_RAWHIDE -# define HZ 1024 -# else -# define HZ 1200 -# endif -#endif - +#ifdef __KERNEL__ +#define HZ CONFIG_HZ #define USER_HZ HZ +#else +#define HZ 1024 +#endif #define EXEC_PAGESIZE 8192