summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch')
-rw-r--r--sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch b/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch
new file mode 100644
index 000000000000..f3de9292dfdc
--- /dev/null
+++ b/sys-kernel/ck-sources/files/ck-sources-3.4.9-calc_load_idle-aCOSwt_P3.patch
@@ -0,0 +1,19 @@
+--- kernel/sched/bfs.c.000 2012-09-06 09:05:05.000000000 +0200
++++ kernel/sched/bfs.c 2012-09-06 09:06:07.000000000 +0200
+@@ -2591,6 +2591,16 @@
+ {
+ }
+
++#ifdef CONFIG_NO_HZ
++void calc_load_enter_idle(void)
++{
++}
++
++void calc_load_exit_idle(void)
++{
++}
++#endif /* CONFIG_NO_HZ */
++
+ /*
+ * Account guest cpu time to a process.
+ * @p: the process that the cpu time gets accounted to