]> err.no Git - linux-2.6/blobdiff - include/asm-alpha/param.h
[netdrvr] wd: fix build breakage with new NS8390p API
[linux-2.6] / include / asm-alpha / param.h
index 3ed0b3b02e52c5a2b739af40c00be241fc73c4e1..e691ecfedb2ce93b7544596487f8abf9f9fff652 100644 (file)
@@ -5,17 +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.  */
 
-#include <linux/config.h>
-
-#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