2005-04-17 00:20:36 +02:00
|
|
|
/*
|
2008-08-02 11:55:55 +02:00
|
|
|
* arch/arm/include/asm/param.h
|
2005-04-17 00:20:36 +02:00
|
|
|
*
|
|
|
|
* Copyright (C) 1995-1999 Russell King
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_PARAM_H
|
|
|
|
#define __ASM_PARAM_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
2006-03-02 23:41:59 +01:00
|
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
2005-04-17 00:20:36 +02:00
|
|
|
# define USER_HZ 100 /* User interfaces are in "ticks" */
|
|
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
|
|
|
#else
|
|
|
|
# define HZ 100
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* max length of hostname */
|
|
|
|
#define MAXHOSTNAMELEN 64
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|