diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:08:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:08:19 -0500 |
commit | d7876a08db50895ed9808ede4a259cccf65eba47 (patch) | |
tree | c1459fb0b369cbebe60cde3f6248b67278ad6816 /kernel | |
parent | bdd7c81b4973e72b670eff6b5725bab189b723d6 (diff) |
sched: remove unused JIFFIES_TO_NS() macro
remove unused JIFFIES_TO_NS() macro.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 35ef06c99214..461ee900d1ac 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -96,10 +96,9 @@ unsigned long long __attribute__((weak)) sched_clock(void) | |||
96 | #define MAX_USER_PRIO (USER_PRIO(MAX_PRIO)) | 96 | #define MAX_USER_PRIO (USER_PRIO(MAX_PRIO)) |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * Some helpers for converting nanosecond timing to jiffy resolution | 99 | * Helpers for converting nanosecond timing to jiffy resolution |
100 | */ | 100 | */ |
101 | #define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ)) | 101 | #define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ)) |
102 | #define JIFFIES_TO_NS(TIME) ((TIME) * (NSEC_PER_SEC / HZ)) | ||
103 | 102 | ||
104 | #define NICE_0_LOAD SCHED_LOAD_SCALE | 103 | #define NICE_0_LOAD SCHED_LOAD_SCALE |
105 | #define NICE_0_SHIFT SCHED_LOAD_SHIFT | 104 | #define NICE_0_SHIFT SCHED_LOAD_SHIFT |