Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm26 / param.h
blob6b1e52df542eeb89fea4b8aa1b066dfac50d6fc6
1 /*
2 * linux/include/asm-arm/param.h
4 * Copyright (C) 1995-1999 Russell King
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
13 #ifndef __KERNEL_HZ
14 #define __KERNEL_HZ 100
15 #endif
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
25 #ifndef NOGROUP
26 #define NOGROUP (-1)
27 #endif
29 /* max length of hostname */
30 #define MAXHOSTNAMELEN 64
32 #endif