]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/sched.h
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[net-next-2.6.git] / include / linux / sched.h
index 87b89a827f0c5b364966d144e66f1404e96672ae..294eb2f8014411540d7be6cf233cd78b1391d5ef 100644 (file)
@@ -1838,7 +1838,8 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
 extern int sched_clock_stable;
 #endif
 
-extern unsigned long long sched_clock(void);
+/* ftrace calls sched_clock() directly */
+extern unsigned long long notrace sched_clock(void);
 
 extern void sched_clock_init(void);
 extern u64 sched_clock_cpu(int cpu);