Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 2 | * arch/arm/include/asm/param.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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__ |
Russell King | f806581 | 2006-03-02 22:41:59 +0000 | [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 /* User interfaces are in "ticks" */ |
| 16 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
| 17 | #else |
| 18 | # define HZ 100 |
| 19 | #endif |
| 20 | |
| 21 | #define EXEC_PAGESIZE 4096 |
| 22 | |
| 23 | #ifndef NOGROUP |
| 24 | #define NOGROUP (-1) |
| 25 | #endif |
| 26 | |
| 27 | /* max length of hostname */ |
| 28 | #define MAXHOSTNAMELEN 64 |
| 29 | |
| 30 | #endif |
| 31 | |