diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:08 -0400 |
commit | 532d0fa4d104ca3e37dd38bc5073376fcc3c2712 (patch) | |
tree | a2ece8d09bc22a616abd743c170b2a727c1d077e /arch/um/kernel | |
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')
-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 @@ | |||
11 | #include "kern_util.h" | 11 | #include "kern_util.h" |
12 | #include "os.h" | 12 | #include "os.h" |
13 | 13 | ||
14 | int hz(void) | ||
15 | { | ||
16 | return HZ; | ||
17 | } | ||
18 | |||
19 | /* | 14 | /* |
20 | * Scheduler clock - returns current time in nanosec units. | 15 | * Scheduler clock - returns current time in nanosec units. |
21 | */ | 16 | */ |