summaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
authorPeter Williams2006-06-26 08:58:00 +0200
committerLinus Torvalds2006-06-26 19:02:41 +0200
commitb78709cfd4387c15a9894748bcada8a4ca75c561 (patch)
tree999f5beae5983280fa1c3d98cefb47ee4a95d83b /net/tipc/node.h
parent[PATCH] initramfs overwrite fix (diff)
downloadkernel-qcow2-linux-b78709cfd4387c15a9894748bcada8a4ca75c561.tar.gz
kernel-qcow2-linux-b78709cfd4387c15a9894748bcada8a4ca75c561.tar.xz
kernel-qcow2-linux-b78709cfd4387c15a9894748bcada8a4ca75c561.zip
[PATCH] sched: fix SCHED_FIFO bug in sys_sched_rr_get_interval()
The introduction of SCHED_BATCH scheduling class with a value of 3 means that the expression (p->policy & SCHED_FIFO) will return true if policy is SCHED_BATCH or SCHED_FIFO. Unfortunately, this expression is used in sys_sched_rr_get_interval() and in the absence of a comment to say that this is intentional I presume that it is unintentional and erroneous. The fix is to change the expression to (p->policy == SCHED_FIFO). Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions