Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b2cfba19f67228e78e48177187f6b07f4107c784
Commit:     b2cfba19f67228e78e48177187f6b07f4107c784
Parent:     0c57d5893e4a9857ff22ec9e379f6bdbdad50850
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 9 18:52:00 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Mon Jul 9 18:52:00 2007 +0200

    sched: remove unused rq types from sched.c
    
    remove unused rq types from sched.c, now that we switched
    over to CFS.
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 kernel/sched.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 886531c..f8cf78c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -209,15 +209,6 @@ struct rt_rq {
 };
 
 /*
- * The prio-array type of the old scheduler:
- */
-struct prio_array {
-       unsigned int nr_active;
-       DECLARE_BITMAP(bitmap, MAX_PRIO+1); /* include 1 bit for delimiter */
-       struct list_head queue[MAX_PRIO];
-};
-
-/*
  * This is the main, per-CPU runqueue data structure.
  *
  * Locking rule: those places that want to lock multiple runqueues
@@ -232,7 +223,6 @@ struct rq {
         * remote CPUs use both these fields when doing load calculation.
         */
        unsigned long nr_running;
-       unsigned long raw_weighted_load;
        #define CPU_LOAD_IDX_MAX 5
        unsigned long cpu_load[CPU_LOAD_IDX_MAX];
        unsigned char idle_at_tick;
@@ -257,16 +247,10 @@ struct rq {
         */
        unsigned long nr_uninterruptible;
 
-       unsigned long expired_timestamp;
-       unsigned long long most_recent_timestamp;
-
        struct task_struct *curr, *idle;
        unsigned long next_balance;
        struct mm_struct *prev_mm;
 
-       struct prio_array *active, *expired, arrays[2];
-       int best_expired_prio;
-
        u64 clock, prev_clock_raw;
        s64 clock_max_delta;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to