Messages in this thread Patch in this message | | | Date | Thu, 5 Jul 2012 20:27:09 +0800 | Subject | [patch] BFS 421-1: cleanup rt_queue | From | Hillf Danton <> |
| |
The first patch, a tiny cleanup, in the round of 421-1.
SOB: Hillf Danton <dhillf@gmail.com> ---
--- a/kernel/sched/bfs.c Thu Jul 5 20:08:04 2012 +++ b/kernel/sched/bfs.c Thu Jul 5 20:10:36 2012 @@ -84,7 +84,6 @@
#define rt_prio(prio) unlikely((prio) < MAX_RT_PRIO) #define rt_task(p) rt_prio((p)->prio) -#define rt_queue(rq) rt_prio((rq)->rq_prio) #define batch_task(p) (unlikely((p)->policy == SCHED_BATCH)) #define is_rt_policy(policy) ((policy) == SCHED_FIFO || \ (policy) == SCHED_RR) --
| |