]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/sched/sched.h
sched/numa: Call task_numa_free() from do_execve()
[mirror_ubuntu-artful-kernel.git] / kernel / sched / sched.h
index 8037b10a256f2d1619fc3cfe3861197c8b52e128..eeb1923812a1285c89288de76d1115dac84ba83f 100644 (file)
@@ -559,11 +559,6 @@ static inline u64 rq_clock_task(struct rq *rq)
 #ifdef CONFIG_NUMA_BALANCING
 extern int migrate_task_to(struct task_struct *p, int cpu);
 extern int migrate_swap(struct task_struct *, struct task_struct *);
-extern void task_numa_free(struct task_struct *p);
-#else /* CONFIG_NUMA_BALANCING */
-static inline void task_numa_free(struct task_struct *p)
-{
-}
 #endif /* CONFIG_NUMA_BALANCING */
 
 #ifdef CONFIG_SMP