]> git.proxmox.com Git - mirror_zfs.git/blob - patches/task-curr-export.patch
Changed ptob()/btop() mult/div into bit shifts.
[mirror_zfs.git] / patches / task-curr-export.patch
1 Index: linux+rh+chaos/kernel/sched.c
2 ===================================================================
3 --- linux+rh+chaos.orig/kernel/sched.c
4 +++ linux+rh+chaos/kernel/sched.c
5 @@ -1038,6 +1038,7 @@ inline int task_curr(const struct task_s
6 {
7 return cpu_curr(task_cpu(p)) == p;
8 }
9 +EXPORT_SYMBOL(task_curr);
10
11 /* Used instead of source_load when we know the type == 0 */
12 unsigned long weighted_cpuload(const int cpu)