All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.6.25.4-rt6: missing global_rt_runtime() in sched.c
@ 2008-06-09  9:51 ` ciaby
  0 siblings, 0 replies; 10+ messages in thread
From: ciaby @ 2008-06-09  9:51 UTC (permalink / raw)
  To: rostedt; +Cc: linux-kernel, linux-rt-users


I already sent this patch, but seems that nobody cared... the last 2

revisions of the -rt kernel don't compile properly.

Second patch to fix this.

Regards



Giovanni "ciaby" Civardi



diff -uNr linux-2.6.25.4-rt6.orig/kernel/sched.c

linux-2.6.25.4-rt6/kernel/sched.c

--- linux-2.6.25.4-rt6.orig/kernel/sched.c      2008-06-09

11:35:57.000000000 +0200

+++ linux-2.6.25.4-rt6/kernel/sched.c   2008-06-09 11:40:45.000000000 +0200

@@ -672,6 +672,13 @@

  */

 #define RUNTIME_INF    ((u64)~0ULL)

 

+static u64 global_rt_runtime(void)

+{

+       if (sysctl_sched_rt_period < 0)

+               return RUNTIME_INF;

+       return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;

+}              

+

 /*

  * We really dont want to do anything complex within switch_to()

  * on PREEMPT_RT - this check enforces this.




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-06-24  1:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09  9:51 [PATCH] 2.6.25.4-rt6: missing global_rt_runtime() in sched.c ciaby
2008-06-09  9:51 ` ciaby
     [not found] ` <a3d4028e0806090255x7301df1kd2c0fbc9d1e678c1@mail.gmail.com>
2008-06-09 10:08   ` ciaby
2008-06-09 12:54 ` Tarkan Erimer
2008-06-09 18:02 ` Daniel Walker
2008-06-13 10:07 ` ciaby
2008-06-13 10:07   ` ciaby
2008-06-13 19:23   ` Daniel Walker
2008-06-23 22:43 ` Steven Rostedt
2008-06-24  1:30   ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.