PageRenderTime 24ms CodeModel.GetById 21ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/mn10300/include/asm/param.h

https://bitbucket.org/cresqo/cm7-p500-kernel
C Header | 34 lines | 17 code | 6 blank | 11 comment | 0 complexity | 1a065cb6f9932e40e64122fcdc29610c MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1/* MN10300 Kernel parameters
 2 *
 3 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
 4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 5 *
 6 * This program is free software; you can redistribute it and/or
 7 * modify it under the terms of the GNU General Public Licence
 8 * as published by the Free Software Foundation; either version
 9 * 2 of the Licence, or (at your option) any later version.
10 */
11#ifndef _ASM_PARAM_H
12#define _ASM_PARAM_H
13
14#ifdef __KERNEL__
15#define HZ		CONFIG_HZ	/* Internal kernel timer frequency */
16#define USER_HZ		100		/* .. some user interfaces are in
17					 * "ticks" */
18#define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */
19#endif
20
21#ifndef HZ
22#define HZ		100
23#endif
24
25#define EXEC_PAGESIZE	4096
26
27#ifndef NOGROUP
28#define NOGROUP		(-1)
29#endif
30
31#define MAXHOSTNAMELEN	64	/* max length of hostname */
32#define COMMAND_LINE_SIZE 256
33
34#endif /* _ASM_PARAM_H */