c9a2e63f88834332e38f4f95dbd05352dee3db36
[linux-flexiantxendom0-3.2.10.git] / include / asm-arm26 / param.h
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 NGROUPS
26 #define NGROUPS         32
27 #endif
28
29 #ifndef NOGROUP
30 #define NOGROUP         (-1)
31 #endif
32
33 /* max length of hostname */
34 #define MAXHOSTNAMELEN  64
35
36 #endif
37