From 0193b833d6a920b01a59a655b9f04a40ccac7e09 Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Mon, 29 Aug 2011 09:28:05 +0000 Subject: [PATCH] Rebased patch to compile against BFS 0.330+ --- .../sched-add-above-background-load-function.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel-bfs-2.6.28/debian/patches/bfs/sched-add-above-background-load-function.patch b/kernel-bfs-2.6.28/debian/patches/bfs/sched-add-above-background-load-function.patch index 5163565..37df41e 100644 --- a/kernel-bfs-2.6.28/debian/patches/bfs/sched-add-above-background-load-function.patch +++ b/kernel-bfs-2.6.28/debian/patches/bfs/sched-add-above-background-load-function.patch @@ -11,14 +11,14 @@ Index: linux-2.6.39-ck1/include/linux/sched.h =================================================================== --- linux-2.6.39-ck1.orig/include/linux/sched.h 2011-05-19 19:36:35.115273667 +1000 +++ linux-2.6.39-ck1/include/linux/sched.h 2011-05-19 19:36:35.551273667 +1000 -@@ -1590,6 +1590,7 @@ static inline int iso_task(struct task_s - { - return (p->policy == SCHED_ISO); - } +@@ -1409,6 +1409,7 @@ struct task_struct { + #define tsk_seruntime(t) ((t)->sched_time) + #define tsk_rttimeout(t) ((t)->rt_timeout) + #define task_rq_unlock_wait(tsk) grq_unlock_wait() +extern int above_background_load(void); - #else /* CFS */ - extern int runqueue_is_locked(int cpu); - extern void task_rq_unlock_wait(struct task_struct *p); + + static inline void set_oom_timeslice(struct task_struct *p) + { @@ -1620,6 +1621,12 @@ static inline int iso_task(struct task_s { return 0; -- 1.7.9.5