libata: reject passthrough WRITE SAME requests
[pandora-kernel.git] / kernel / sched_debug.c
index f4010e2..704ffe3 100644 (file)
@@ -467,7 +467,7 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
 
                avg_atom = p->se.sum_exec_runtime;
                if (nr_switches)
-                       do_div(avg_atom, nr_switches);
+                       avg_atom = div64_ul(avg_atom, nr_switches);
                else
                        avg_atom = -1LL;