Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/include/asm-arm/param.h | |
3 | * | |
4 | * Copyright (C) 1995-1999 Russell King | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | #ifndef __ASM_PARAM_H | |
11 | #define __ASM_PARAM_H | |
12 | ||
13 | #ifndef __KERNEL_HZ | |
14 | #define __KERNEL_HZ 100 | |
15 | #endif | |
16 | ||
17 | #ifdef __KERNEL__ | |
18 | # define HZ __KERNEL_HZ /* Internal kernel timer frequency */ | |
19 | # define USER_HZ 100 /* User interfaces are in "ticks" */ | |
20 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | |
21 | #else | |
22 | # define HZ 100 | |
23 | #endif | |
24 | ||
25 | #ifndef NOGROUP | |
26 | #define NOGROUP (-1) | |
27 | #endif | |
28 | ||
29 | /* max length of hostname */ | |
30 | #define MAXHOSTNAMELEN 64 | |
31 | ||
32 | #endif | |
33 |