summaryrefslogtreecommitdiff
path: root/include/linux/hardirq.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-19 10:11:10 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-08-02 13:15:51 (GMT)
commitbcf08df3b23b3d13bf8c4ad6bd744a6ad30015fb (patch)
treec3c37cfa34a15c05a37bbacc7b67a2ffc19bc856 /include/linux/hardirq.h
parent693525e3bea25cf2ee6cf2b862ba7c148e891df2 (diff)
downloadlinux-fsl-qoriq-bcf08df3b23b3d13bf8c4ad6bd744a6ad30015fb.tar.xz
sched: Fix cpupri build on !CONFIG_SMP
This build bug: In file included from kernel/sched.c:1765: kernel/sched_rt.c: In function ‘has_pushable_tasks’: kernel/sched_rt.c:1069: error: ‘struct rt_rq’ has no member named ‘pushable_tasks’ kernel/sched_rt.c: In function ‘pick_next_task_rt’: kernel/sched_rt.c:1084: error: ‘struct rq’ has no member named ‘post_schedule’ Triggers because both pushable_tasks and post_schedule are SMP-only fields. Move pushable_tasks() to the SMP section and #ifdef the post_schedule use. Cc: Gregory Haskins <ghaskins@novell.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20090729150422.17691.55590.stgit@dev.haskins.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/hardirq.h')
0 files changed, 0 insertions, 0 deletions