#ifndef __ASM_PARAM_H
#define __ASM_PARAM_H
-#include <asm/arch/param.h> /* for HZ */
+#ifdef __KERNEL__
+# include <asm/arch/param.h> /* for kernel version of HZ */
-#ifndef __KERNEL_HZ
-#define __KERNEL_HZ 100
-#endif
+# ifndef HZ
+# define HZ 100 /* Internal kernel timer frequency */
+# endif
-#ifdef __KERNEL__
-# define HZ __KERNEL_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#else