diff options
author | Greg Ungerer <gerg@snapgear.com> | 2008-04-30 22:17:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 11:08:36 -0400 |
commit | 0042a1f7ecbc5d40eb2164f375ec87ecf3494418 (patch) | |
tree | b8a0eaf4025c6df2ef784cdaa62710a36c794e86 /include/asm-m68knommu/param.h | |
parent | 6cca49173198e1666cb9852649f66e1dba99d88a (diff) |
m68knommu: rework definition of HZ
Rework the HZ definition to be more consistent with other architectures.
Non-kernel includers will see a constant HZ setting of 100.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu/param.h')
-rw-r--r-- | include/asm-m68knommu/param.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-m68knommu/param.h b/include/asm-m68knommu/param.h index 96c451018324..6044397adb64 100644 --- a/include/asm-m68knommu/param.h +++ b/include/asm-m68knommu/param.h | |||
@@ -1,13 +1,16 @@ | |||
1 | #ifndef _M68KNOMMU_PARAM_H | 1 | #ifndef _M68KNOMMU_PARAM_H |
2 | #define _M68KNOMMU_PARAM_H | 2 | #define _M68KNOMMU_PARAM_H |
3 | 3 | ||
4 | #define HZ CONFIG_HZ | ||
5 | |||
6 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | #define HZ CONFIG_HZ | ||
7 | #define USER_HZ HZ | 6 | #define USER_HZ HZ |
8 | #define CLOCKS_PER_SEC (USER_HZ) | 7 | #define CLOCKS_PER_SEC (USER_HZ) |
9 | #endif | 8 | #endif |
10 | 9 | ||
10 | #ifndef HZ | ||
11 | #define HZ 100 | ||
12 | #endif | ||
13 | |||
11 | #define EXEC_PAGESIZE 4096 | 14 | #define EXEC_PAGESIZE 4096 |
12 | 15 | ||
13 | #ifndef NOGROUP | 16 | #ifndef NOGROUP |