summaryrefslogtreecommitdiffstats
path: root/patches/task-curr-export.patch
blob: 53007d2ba52d5456bcaccc7f79a08bd67c534113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: linux+rh+chaos/kernel/sched.c
===================================================================
--- linux+rh+chaos.orig/kernel/sched.c
+++ linux+rh+chaos/kernel/sched.c
@@ -1038,6 +1038,7 @@ inline int task_curr(const struct task_s
 {
 	return cpu_curr(task_cpu(p)) == p;
 }
+EXPORT_SYMBOL(task_curr);
 
 /* Used instead of source_load when we know the type == 0 */
 unsigned long weighted_cpuload(const int cpu)