mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Uli Brueggemann" <uli.brueggemann@gmail.com>
To: "Tarkan Erimer" <tarkan@netone.net.tr>
Cc: "Steven Rostedt" <rostedt@goodmis.org>,
	LKML <linux-kernel@vger.kernel.org>,
	RT <linux-rt-users@vger.kernel.org>,
	"Ingo Molnar" <mingo@elte.hu>,
	"Thomas Gleixner" <tglx@linutronix.de>
Subject: Re: 2.6.25.4-rt6
Date: Mon, 9 Jun 2008 10:13:43 +0200	[thread overview]
Message-ID: <10a58eee0806090113j643e058bm1da6c8a5bfbc1701@mail.gmail.com> (raw)
In-Reply-To: <484CDDEC.7050405@netone.net.tr>

On Mon, Jun 9, 2008 at 9:38 AM, Tarkan Erimer <tarkan@netone.net.tr> 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@autistici.org>
To: rostedt@goodmis.org

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.

      reply	other threads:[~2008-06-09  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06 22:59 2.6.25.4-rt6 Steven Rostedt
2008-06-09  7:38 ` 2.6.25.4-rt6 Tarkan Erimer
2008-06-09  8:13   ` Uli Brueggemann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10a58eee0806090113j643e058bm1da6c8a5bfbc1701@mail.gmail.com \
    --to=uli.brueggemann@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=tarkan@netone.net.tr \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®