OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbe51c
)
sched: Remove some dummy functions
author
Li Zefan
<lizefan@huawei.com>
Tue, 5 Mar 2013 08:05:28 +0000
(16:05 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 6 Mar 2013 10:24:28 +0000
(11:24 +0100)
No one will call those functions if CONFIG_SCHED_DEBUG=n.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/r/5135A748.3050206@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
patch
|
blob
|
history
diff --git
a/include/linux/sched.h
b/include/linux/sched.h
index
d35d2b6
..
2715fbb
100644
(file)
--- a/
include/linux/sched.h
+++ b/
include/linux/sched.h
@@
-127,18
+127,6
@@
extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m);
extern void proc_sched_set_task(struct task_struct *p);
extern void
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
-#else
-static inline void
-proc_sched_show_task(struct task_struct *p, struct seq_file *m)
-{
-}
-static inline void proc_sched_set_task(struct task_struct *p)
-{
-}
-static inline void
-print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
-{
-}
#endif
/*