From: Markus Metzger Date: Fri, 3 Apr 2009 14:43:34 +0000 (+0200) Subject: sched, hw-branch-tracer: add wait_task_context_switch() function to sched.h X-Git-Tag: v2.6.31-rc1~401^2~62^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26b89f05d194413c7238e0bea071054f6b5d3c8;p=pandora-kernel.git sched, hw-branch-tracer: add wait_task_context_switch() function to sched.h Add a function to wait until some other task has been switched out at least once. This differs from wait_task_inactive() subtly, in that the latter will wait until the task has left the CPU. Signed-off-by: Markus Metzger Cc: markus.t.metzger@gmail.com Cc: roland@redhat.com Cc: eranian@googlemail.com Cc: oleg@redhat.com Cc: juan.villacis@intel.com Cc: ak@linux.jf.intel.com LKML-Reference: <20090403144549.794157000@intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed