]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sched.h
libata: implement AC_ERR_NCQ
[linux-2.6-omap-h63xx.git] / include / linux / sched.h
index 94f624aef01732409573645e910506b8db903899..33b9b4841ee743ff6ad9239d66d23f80a3c76b3c 100644 (file)
@@ -1348,6 +1348,13 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
 #endif
 
 extern unsigned long long sched_clock(void);
+
+/*
+ * For kernel-internal use: high-speed (but slightly incorrect) per-cpu
+ * clock constructed from sched_clock():
+ */
+extern unsigned long long cpu_clock(int cpu);
+
 extern unsigned long long
 task_sched_runtime(struct task_struct *task);