소스 검색

sched: de CPP-ify the scheduler code

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Gregory Haskins 16 년 전
부모
커밋
b07430ac37
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      kernel/sched_rt.c

+ 4 - 2
kernel/sched_rt.c

@@ -64,8 +64,10 @@ static void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
 
 #else
 
-#define enqueue_pushable_task(rq, p) do { } while (0)
-#define dequeue_pushable_task(rq, p) do { } while (0)
+static inline
+void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {}
+static inline
+void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {}
 
 #endif /* CONFIG_SMP */