mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
7d1362c0d0
Make the contents of the userspace asm/setup.h header consistent on all architectures: - export setup.h to userspace on all architectures - export only COMMAND_LINE_SIZE to userspace - frv: move COMMAND_LINE_SIZE from param.h - i386: remove duplicate COMMAND_LINE_SIZE from param.h - arm: - export ATAGs to userspace - change u8/u16/u32 to __u8/__u16/__u32 Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
23 lines
436 B
C
23 lines
436 B
C
#ifndef _ASM_PARAM_H
|
|
#define _ASM_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
#define HZ 1000 /* Internal kernel timer frequency */
|
|
#define USER_HZ 100 /* .. some user interfaces are in "ticks" */
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
|
#endif
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 16384
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* _ASM_PARAM_H */
|