Optimize timespec_trunc()
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-alpha / param.h
blob214e7996346f25e890c9221c35fac975f4e7ee78
1 #ifndef _ASM_ALPHA_PARAM_H
2 #define _ASM_ALPHA_PARAM_H
4 /* ??? Gross. I don't want to parameterize this, and supposedly the
5 hardware ignores reprogramming. We also need userland buy-in to the
6 change in HZ, since this is visible in the wait4 resources etc. */
9 #ifndef HZ
10 # ifndef CONFIG_ALPHA_RAWHIDE
11 # define HZ 1024
12 # else
13 # define HZ 1200
14 # endif
15 #endif
17 #define USER_HZ HZ
19 #define EXEC_PAGESIZE 8192
21 #ifndef NOGROUP
22 #define NOGROUP (-1)
23 #endif
25 #define MAXHOSTNAMELEN 64 /* max length of hostname */
27 #ifdef __KERNEL__
28 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
29 #endif
31 #endif /* _ASM_ALPHA_PARAM_H */