Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org) |
| 7 | * Copyright 2000 Silicon Graphics, Inc. |
| 8 | */ |
| 9 | #ifndef _ASM_PARAM_H |
| 10 | #define _ASM_PARAM_H |
| 11 | |
| 12 | #ifdef __KERNEL__ |
| 13 | |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 14 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 16 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
| 17 | #endif |
| 18 | |
| 19 | #ifndef HZ |
| 20 | #define HZ 100 |
| 21 | #endif |
| 22 | |
| 23 | #define EXEC_PAGESIZE 65536 |
| 24 | |
| 25 | #ifndef NOGROUP |
| 26 | #define NOGROUP (-1) |
| 27 | #endif |
| 28 | |
| 29 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 30 | |
| 31 | #endif /* _ASM_PARAM_H */ |