diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 01:27:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:08 -0700 |
commit | 532d0fa4d104ca3e37dd38bc5073376fcc3c2712 (patch) | |
tree | a2ece8d09bc22a616abd743c170b2a727c1d077e /arch/um/kernel/time.c | |
parent | 088bec4141ceb663eecdd961292d110db891db73 (diff) |
uml: eliminate hz()
Eliminate hz() since its only purpose was to provide a kernel-space constant
to userspace code. This can be done instead by providing the constant
directly through kernel_constants.h.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/time.c')
-rw-r--r-- | arch/um/kernel/time.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c index 4fc8c2586b70..633b673d5778 100644 --- a/arch/um/kernel/time.c +++ b/arch/um/kernel/time.c @@ -11,11 +11,6 @@ #include "kern_util.h" #include "os.h" -int hz(void) -{ - return HZ; -} - /* * Scheduler clock - returns current time in nanosec units. */ |