aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/param.h')
-rw-r--r--include/asm-sh/param.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/asm-sh/param.h b/include/asm-sh/param.h
new file mode 100644
index 000000000000..ce13064fec21
--- /dev/null
+++ b/include/asm-sh/param.h
@@ -0,0 +1,26 @@
1#ifndef __ASM_SH_PARAM_H
2#define __ASM_SH_PARAM_H
3
4#ifdef __KERNEL__
5# ifdef CONFIG_SH_WDT
6# define HZ 1000 /* Needed for high-res WOVF */
7# else
8# define HZ 100
9# endif
10# define USER_HZ 100 /* User interfaces are in "ticks" */
11# define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
12#endif
13
14#ifndef HZ
15#define HZ 100
16#endif
17
18#define EXEC_PAGESIZE 4096
19
20#ifndef NOGROUP
21#define NOGROUP (-1)
22#endif
23
24#define MAXHOSTNAMELEN 64 /* max length of hostname */
25
26#endif /* __ASM_SH_PARAM_H */