mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 23:02:08 +00: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
430 B
C
23 lines
430 B
C
#ifndef _ASMi386_PARAM_H
|
|
#define _ASMi386_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
# define HZ CONFIG_HZ /* 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 4096
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif
|