projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e645a
)
sched: remove batch_task()
author
Ingo Molnar
<mingo@elte.hu>
Mon, 9 Jul 2007 16:52:00 +0000
(18:52 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 9 Jul 2007 16:52:00 +0000
(18:52 +0200)
batch_task() in sched.h is now unused - remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/sched.h
b/include/linux/sched.h
index efa3beb007ff06f56dbcff461642dba68ed131d3..aa582be8cafa180c07b4afbdf601aad2a62389de 100644
(file)
--- a/
include/linux/sched.h
+++ b/
include/linux/sched.h
@@
-1157,11
+1157,6
@@
static inline int rt_task(struct task_struct *p)
return rt_prio(p->prio);
}
-static inline int batch_task(struct task_struct *p)
-{
- return p->policy == SCHED_BATCH;
-}
-
static inline pid_t process_group(struct task_struct *tsk)
{
return tsk->signal->pgrp;