Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / param.h
blob94223d4d7e888da23c64b797b09e1c05af684f87
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 #ifdef __KERNEL__
14 # include <asm/arch/param.h> /* for kernel version of HZ */
16 # ifndef HZ
17 # define HZ 100 /* Internal kernel timer frequency */
18 # endif
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
26 #define EXEC_PAGESIZE 4096
28 #ifndef NOGROUP
29 #define NOGROUP (-1)
30 #endif
32 /* max length of hostname */
33 #define MAXHOSTNAMELEN 64
35 #endif