diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-17 19:13:17 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-22 22:55:19 -0700 |
commit | 8ede0bdb63305d3353efd97e9af6210afb05734e (patch) | |
tree | a9500a323d0a2dcadca43c23b5c20186f6d9b724 /arch/um/include/asm/param.h | |
parent | 8569c9140bd41089f9b6be8837ca421102714a90 (diff) | |
download | blackbird-op-linux-8ede0bdb63305d3353efd97e9af6210afb05734e.tar.gz blackbird-op-linux-8ede0bdb63305d3353efd97e9af6210afb05734e.zip |
x86, um: initial part of asm-um move
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/include/asm/param.h')
-rw-r--r-- | arch/um/include/asm/param.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/um/include/asm/param.h b/arch/um/include/asm/param.h new file mode 100644 index 000000000000..e44f4e60d16d --- /dev/null +++ b/arch/um/include/asm/param.h @@ -0,0 +1,20 @@ +#ifndef _UM_PARAM_H +#define _UM_PARAM_H + +#define EXEC_PAGESIZE 4096 + +#ifndef NOGROUP +#define NOGROUP (-1) +#endif + +#define MAXHOSTNAMELEN 64 /* max length of hostname */ + +#ifdef __KERNEL__ +#define HZ CONFIG_HZ +#define USER_HZ 100 /* .. some user interfaces are in "ticks" */ +#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ +#else +#define HZ 100 +#endif + +#endif |