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>
This commit is contained in:
parent
6cca491731
commit
0042a1f7ec
@ -1,13 +1,16 @@
|
|||||||
#ifndef _M68KNOMMU_PARAM_H
|
#ifndef _M68KNOMMU_PARAM_H
|
||||||
#define _M68KNOMMU_PARAM_H
|
#define _M68KNOMMU_PARAM_H
|
||||||
|
|
||||||
#define HZ CONFIG_HZ
|
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
#define HZ CONFIG_HZ
|
||||||
#define USER_HZ HZ
|
#define USER_HZ HZ
|
||||||
#define CLOCKS_PER_SEC (USER_HZ)
|
#define CLOCKS_PER_SEC (USER_HZ)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HZ
|
||||||
|
#define HZ 100
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EXEC_PAGESIZE 4096
|
#define EXEC_PAGESIZE 4096
|
||||||
|
|
||||||
#ifndef NOGROUP
|
#ifndef NOGROUP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user