LKML Archive on
help / color / mirror / Atom feed
From: Dirk Behme <>
To: Linux Kernel Mailing List <>
Cc: Thomas Gleixner <>, Ingo Molnar <>
Subject: [PATCH -rt] Make patch-2.6.20-rc6-rt4 compile & link for ARM
Date: Mon, 29 Jan 2007 14:59:10 +0100	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]


at least for me it looks like I need something like in
attachment to get patch-2.6.20-rc6-rt4 compile and link for ARM.

Please correct if anything is wrong.



[-- Attachment #2: arm-2.6.20-rc6-rt4.patch --]
[-- Type: text/x-patch, Size: 1235 bytes --]

Fix compile and link of patch-2.6.20-rc6-rt4 for ARM.

Signed-off-by: Dirk Behme <>

Index: linux-osk/arch/arm/kernel/process.c
--- linux-osk.orig/arch/arm/kernel/process.c
+++ linux-osk/arch/arm/kernel/process.c
@@ -28,6 +28,7 @@
 #include <linux/cpu.h>
 #include <linux/elfcore.h>
 #include <linux/pm.h>
+#include <linux/tick.h>
 #include <asm/leds.h>
 #include <asm/processor.h>
@@ -154,11 +155,11 @@ void cpu_idle(void)
 		if (!idle)
 			idle = default_idle;
-		hrtimer_stop_sched_tick();
+		tick_nohz_stop_sched_tick();
 		while (!need_resched() && !need_resched_delayed())
-		hrtimer_restart_sched_tick();
+		tick_nohz_restart_sched_tick();
Index: linux-osk/kernel/time/tick-sched.c
--- linux-osk.orig/kernel/time/tick-sched.c
+++ linux-osk/kernel/time/tick-sched.c
@@ -20,6 +20,7 @@
 #include <linux/profile.h>
 #include <linux/sched.h>
 #include <linux/tick.h>
+#include <asm/irq_regs.h>
 #include "tick-internal.h"

                 reply	other threads:[~2007-01-29 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH -rt] Make patch-2.6.20-rc6-rt4 compile & link for ARM' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).