X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-alpha%2Fparam.h;h=e691ecfedb2ce93b7544596487f8abf9f9fff652;hb=2351ec533ed0dd56052ab96988d2161d5ecc8ed9;hp=0982f1d39499fbe337b440cc995913e2fbbb792d;hpb=ab1ecbabb1c7b1599b1eb70c291407c557ea4ef3;p=linux-2.6 diff --git a/include/asm-alpha/param.h b/include/asm-alpha/param.h index 0982f1d394..e691ecfedb 100644 --- a/include/asm-alpha/param.h +++ b/include/asm-alpha/param.h @@ -5,8 +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. */ +#ifdef __KERNEL__ #define HZ CONFIG_HZ #define USER_HZ HZ +#else +#define HZ 1024 +#endif #define EXEC_PAGESIZE 8192