]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/param.h
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
[linux-2.6-omap-h63xx.git] / include / asm-alpha / param.h
index 0982f1d39499fbe337b440cc995913e2fbbb792d..e691ecfedb2ce93b7544596487f8abf9f9fff652 100644 (file)
@@ -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