mirror_zfs/patches/task-curr-export.patch
behlendo fe81cb1c43 Add the minimal set of kernel patches need to for the SPL. Hopefully
even these will not be needed over the next few weeks.



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@121 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
2008-06-02 19:45:04 +00:00

13 lines
422 B
Diff

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)