X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-h8300%2Fparam.h;h=1c72fb8080ff645dffeb799d052283014bc2e535;hb=fcff474ea5cb17ff015aa40e92ed86fede41f1e2;hp=126dddf72359cf83e901f5136c57ae067348db72;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/include/asm-h8300/param.h b/include/asm-h8300/param.h index 126dddf723..1c72fb8080 100644 --- a/include/asm-h8300/param.h +++ b/include/asm-h8300/param.h @@ -1,15 +1,12 @@ #ifndef _H8300_PARAM_H #define _H8300_PARAM_H -#include - -#ifndef HZ -#define HZ 100 -#endif - #ifdef __KERNEL__ +#define HZ CONFIG_HZ #define USER_HZ HZ #define CLOCKS_PER_SEC (USER_HZ) +#else +#define HZ 100 #endif #define EXEC_PAGESIZE 4096