| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_ALPHA_PARAM_H | 
|  | 2 | #define _ASM_ALPHA_PARAM_H | 
|  | 3 |  | 
|  | 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.  */ | 
|  | 7 |  | 
|  | 8 | #include <linux/config.h> | 
|  | 9 |  | 
|  | 10 | #ifndef HZ | 
|  | 11 | # ifndef CONFIG_ALPHA_RAWHIDE | 
|  | 12 | #  define HZ	1024 | 
|  | 13 | # else | 
|  | 14 | #  define HZ	1200 | 
|  | 15 | # endif | 
|  | 16 | #endif | 
|  | 17 |  | 
|  | 18 | #define USER_HZ		HZ | 
|  | 19 |  | 
|  | 20 | #define EXEC_PAGESIZE	8192 | 
|  | 21 |  | 
|  | 22 | #ifndef NOGROUP | 
|  | 23 | #define NOGROUP		(-1) | 
|  | 24 | #endif | 
|  | 25 |  | 
|  | 26 | #define MAXHOSTNAMELEN	64	/* max length of hostname */ | 
|  | 27 |  | 
|  | 28 | #ifdef __KERNEL__ | 
|  | 29 | # define CLOCKS_PER_SEC	HZ	/* frequency at which times() counts */ | 
|  | 30 | #endif | 
|  | 31 |  | 
|  | 32 | #endif /* _ASM_ALPHA_PARAM_H */ |