Re: 2.6.25.4-rt6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 9, 2008 at 9:38 AM, Tarkan Erimer <tarkan@xxxxxxxxxxxxx> wrote:
>
> I got this error message at compile stage. Also it is the same error that was on -rt4. -rt3 compiles and runs fine.
>
>
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> CC kernel/sched.o
> kernel/sched.c: In function 'sched_init':
> kernel/sched.c:7702: error: implicit declaration of function 'global_rt_runtime'
> make[2]: *** [kernel/sched.o] Error 1
> make[1]: *** [kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
> make: *** [debian/stamp-build-kernel] Error 2
> root@tarkane:/usr/src/linux-2.6.25.4#
>



I got the same message but following previously sent patch works for me:

-------- Original Message --------

Subject: about 2.6.25.4-rt5 (missing global_rt_runtime)
Date: Thu, 05 Jun 2008 12:18:49 +0000
From: ciaby <ciaby@xxxxxxxxxxxxx>
To: rostedt@xxxxxxxxxxx

Small patch to make it compile (missing global_rt_runtime function):

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

--- linux-2.6.25.4.orig/kernel/sched.c  2008-06-05 14:12:30.000000000 +0200
+++ linux-2.6.25.4/kernel/sched.c       2008-06-05 13:58:48.000000000 +0200

@@ -671,6 +671,15 @@

 */
  #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.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux