---
 kernel/trace/latency_hist.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: linux-2.6.33.7.2-rt30/kernel/trace/latency_hist.c
===================================================================
--- linux-2.6.33.7.2-rt30.orig/kernel/trace/latency_hist.c
+++ linux-2.6.33.7.2-rt30/kernel/trace/latency_hist.c
@@ -930,7 +930,9 @@ static notrace void probe_hrtimer_interr
     struct task_struct *curr, struct task_struct *task)
 {
        if (latency_ns <= 0 && task != NULL && rt_task(task) &&
-           task->prio < curr->prio) {
+           (task->prio < curr->prio ||
+           (task->prio == curr->prio &&
+           !test_cpu_mask(cpu, &task->cpus_allowed)))) {
                unsigned long latency;
 
                if (missed_timer_offsets_pid) {