]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - include/linux/sched.h
perf: Cure task_oncpu_function_call() races
[mirror_ubuntu-kernels.git] / include / linux / sched.h
index d747f948b34e9608acb1575abdd9aea0e96c7204..0b40ee3f6d7a4c23e4556465b11bc960496152c9 100644 (file)
@@ -2578,13 +2578,6 @@ static inline void inc_syscw(struct task_struct *tsk)
 #define TASK_SIZE_OF(tsk)      TASK_SIZE
 #endif
 
-/*
- * Call the function if the target task is executing on a CPU right now:
- */
-extern void task_oncpu_function_call(struct task_struct *p,
-                                    void (*func) (void *info), void *info);
-
-
 #ifdef CONFIG_MM_OWNER
 extern void mm_update_next_owner(struct mm_struct *mm);
 extern void mm_init_owner(struct mm_struct *mm, struct task_struct *p);