projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be209a
)
sched: Fix up wchan borkage
author
Simon Kirby
<
[email protected]
>
Fri, 23 Sep 2011 00:03:46 +0000
(17:03 -0700)
committer
Ingo Molnar
<
[email protected]
>
Mon, 26 Sep 2011 10:51:08 +0000
(12:51 +0200)
Commit
c259e01a1ec
("sched: Separate the scheduler entry for
preemption") contained a boo-boo wrecking wchan output. It forgot to
put the new schedule() function in the __sched section and thereby
doesn't get properly ignored for things like wchan.
Tested-by: Simon Kirby <
[email protected]
>
Cc:
[email protected]
# 2.6.39+
Signed-off-by: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index ec5f472bc5b9cec2a5c43ab7f8a054ecca75b39a..d249ea88428cca61c9ee29d6e5533fdcd1911411 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-4372,7
+4372,7
@@
static inline void sched_submit_work(struct task_struct *tsk)
blk_schedule_flush_plug(tsk);
}
-asmlinkage void schedule(void)
+asmlinkage void
__sched
schedule(void)
{
struct task_struct *tsk = current;