watchdog: Fix rounding bug in get_sample_period()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / include / asm / param.h
blob8b24bf94c06baac0e054c88c402e1ac01eed4bb1
1 /*
2 * arch/arm/include/asm/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 # define HZ CONFIG_HZ /* Internal kernel timer frequency */
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
21 #define EXEC_PAGESIZE 4096
23 #ifndef NOGROUP
24 #define NOGROUP (-1)
25 #endif
27 /* max length of hostname */
28 #define MAXHOSTNAMELEN 64
30 #endif