lkml.org 
[lkml]   [2012]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[patch] BFS 421-1: cleanup rt_queue
From
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)
--

\
 
 \ /
  Last update: 2012-07-05 15:21    [W:0.052 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site