X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-alpha%2Fparam.h;h=e691ecfedb2ce93b7544596487f8abf9f9fff652;hb=56ac36d722d0d27c03599d1245ac0ab59e474e5c;hp=214e7996346f25e890c9221c35fac975f4e7ee78;hpb=0c97f524fc16004602f97ba19c36acdcc0fb9688;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