diff options
Diffstat (limited to 'include/asm-alpha/param.h')
-rw-r--r-- | include/asm-alpha/param.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/asm-alpha/param.h b/include/asm-alpha/param.h new file mode 100644 index 000000000000..3ed0b3b02e52 --- /dev/null +++ b/include/asm-alpha/param.h | |||
@@ -0,0 +1,32 @@ | |||
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 */ | ||