Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | #ifdef __KERNEL__ |
| 14 | # include <asm/arch/param.h> /* for kernel version of HZ */ |
| 15 | |
| 16 | # ifndef HZ |
| 17 | # define HZ 100 /* Internal kernel timer frequency */ |
| 18 | # endif |
| 19 | |
| 20 | # define USER_HZ 100 /* User interfaces are in "ticks" */ |
| 21 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
| 22 | #else |
| 23 | # define HZ 100 |
| 24 | #endif |
| 25 | |
| 26 | #define EXEC_PAGESIZE 4096 |
| 27 | |
| 28 | #ifndef NOGROUP |
| 29 | #define NOGROUP (-1) |
| 30 | #endif |
| 31 | |
| 32 | /* max length of hostname */ |
| 33 | #define MAXHOSTNAMELEN 64 |
| 34 | |
| 35 | #endif |
| 36 | |