diff for duplicates of <7688fdc041a8f848b0627dccccddcf12@localhost> diff --git a/a/1.txt b/N1/1.txt index 8724fde..b473db5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,52 +1,27 @@ 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. diff --git a/a/content_digest b/N1/content_digest index 6b0f9e4..6ebc932 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -8,55 +8,30 @@ "b\0" "\n" "I already sent this patch, but seems that nobody cared... the last 2\n" - "\n" "revisions of the -rt kernel don't compile properly.\n" - "\n" "Second patch to fix this.\n" - "\n" "Regards\n" "\n" - "\n" - "\n" "Giovanni \"ciaby\" Civardi\n" "\n" - "\n" - "\n" "diff -uNr linux-2.6.25.4-rt6.orig/kernel/sched.c\n" - "\n" "linux-2.6.25.4-rt6/kernel/sched.c\n" - "\n" "--- linux-2.6.25.4-rt6.orig/kernel/sched.c 2008-06-09\n" - "\n" "11:35:57.000000000 +0200\n" - "\n" "+++ linux-2.6.25.4-rt6/kernel/sched.c 2008-06-09 11:40:45.000000000 +0200\n" - "\n" "@@ -672,6 +672,13 @@\n" - "\n" " */\n" - "\n" " #define RUNTIME_INF ((u64)~0ULL)\n" - "\n" " \n" - "\n" "+static u64 global_rt_runtime(void)\n" - "\n" "+{\n" - "\n" "+ if (sysctl_sched_rt_period < 0)\n" - "\n" "+ return RUNTIME_INF;\n" - "\n" "+ return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;\n" - "\n" "+} \n" - "\n" "+\n" - "\n" " /*\n" - "\n" " * We really dont want to do anything complex within switch_to()\n" - "\n" * on PREEMPT_RT - this check enforces this. -fdac292f369e352ad00855f7070821b40b70149dd1bde0bfb76877f1a167c8f8 +72274f168b473f673a3a5724c9c374f0f72e252f73bfc7e4a1f236b29abff0cf
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.