]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - patches/task-curr-export.patch
Add the minimal set of kernel patches need to for the SPL. Hopefully
[FreeBSD/FreeBSD.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)