aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-25 21:08:19 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:19 +0100
commitd7876a08db50895ed9808ede4a259cccf65eba47 (patch)
treec1459fb0b369cbebe60cde3f6248b67278ad6816
parentsched: fix sched_rt.c:join/leave_domain (diff)
downloadlinux-dev-d7876a08db50895ed9808ede4a259cccf65eba47.tar.xz
linux-dev-d7876a08db50895ed9808ede4a259cccf65eba47.zip
sched: remove unused JIFFIES_TO_NS() macro
remove unused JIFFIES_TO_NS() macro. Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/sched.c3
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)
#define MAX_USER_PRIO (USER_PRIO(MAX_PRIO))
/*
- * Some helpers for converting nanosecond timing to jiffy resolution
+ * Helpers for converting nanosecond timing to jiffy resolution
*/
#define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ))
-#define JIFFIES_TO_NS(TIME) ((TIME) * (NSEC_PER_SEC / HZ))
#define NICE_0_LOAD SCHED_LOAD_SCALE
#define NICE_0_SHIFT SCHED_LOAD_SHIFT